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 CreateBlockchain ¶
func CreateBlockchain(difficulty int) Blockchain
func (*Blockchain) AddBlock ¶
func (b *Blockchain) AddBlock(from, to string, amount float64)
func (Blockchain) IsValid ¶
func (b Blockchain) IsValid() bool
Click to show internal directories.
Click to hide internal directories.