Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BlockChain ¶
func NewBlockChain ¶
func NewBlockChain() *BlockChain
func (*BlockChain) AddBlock ¶
func (r *BlockChain) AddBlock(data string)
func (*BlockChain) GetBlock ¶
func (r *BlockChain) GetBlock(hash []byte) *Block
type ChainIterator ¶
type ProofOfWork ¶
type ProofOfWork struct {
// contains filtered or unexported fields
}
ProofOfWork POW
Click to show internal directories.
Click to hide internal directories.