model

package
v0.0.0-...-54b189c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blockchain

type Blockchain struct {
	Height            uint64
	CurrentBlockHash  []byte
	PreviousBlockHash []byte
}

func NewBlockchain

func NewBlockchain(bi *common.BlockchainInfo) *Blockchain

type Channel

type Channel struct {
	Name string
}

func NewChannel

func NewChannel(ci *peer.ChannelInfo) *Channel

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL