Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeBlockChain ¶
func MakeBlockChain()
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(Title string, Link string)
func (Blockchain) GetBlockchainData ¶
func (b Blockchain) GetBlockchainData() []Jsondata
func (Blockchain) IsValid ¶
func (b Blockchain) IsValid() bool
Click to show internal directories.
Click to hide internal directories.