Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
func (*Block) CalculateHash ¶
type Blockchain ¶
type Blockchain struct {
Blocks []*Block
}
func (*Blockchain) Add ¶
func (b *Blockchain) Add(block *Block)
func (*Blockchain) Dump ¶
func (b *Blockchain) Dump()
func (*Blockchain) LastBlock ¶
func (b *Blockchain) LastBlock() *Block
Click to show internal directories.
Click to hide internal directories.