Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blockchain ¶
type Blockchain struct {
// contains filtered or unexported fields
}
func NewBlockchain ¶
func NewBlockchain() *Blockchain
func (*Blockchain) AddBlock ¶
func (bc *Blockchain) AddBlock(data BlockData) error
func (*Blockchain) GetWritiableBlocks ¶
func (bc *Blockchain) GetWritiableBlocks() []*writableBlock
Click to show internal directories.
Click to hide internal directories.