Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BlockChain ¶
type BlockChain struct {
// contains filtered or unexported fields
}
func InitBlockChain ¶
func InitBlockChain(proof proof.Proofer) *BlockChain
func (*BlockChain) AddBlock ¶
func (chain *BlockChain) AddBlock(data string)
func (*BlockChain) Blocks ¶
func (chain *BlockChain) Blocks() []*block.Block
Click to show internal directories.
Click to hide internal directories.