Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StateBlock ¶
type StateBlock struct { Type string `json:"type"` Hash []byte `json:"hash"` Account string `json:"account"` Previous []byte `json:"previous"` Representative string `json:"representative"` Balance big.Int `json:"balance"` Link []byte `json:"link"` Work string `json:"work"` Signature []byte `json:"signature"` }
StateBlock is a block from the nano protocol
func (*StateBlock) Sign ¶
func (b *StateBlock) Sign(privateKey ed25519.PrivateKey) error
Click to show internal directories.
Click to hide internal directories.