Documentation ¶
Index ¶
Constants ¶
View Source
const BlockReward = 100
Variables ¶
This section is empty.
Functions ¶
func IsBlockHashValid ¶
Types ¶
type Block ¶
type Block struct { Header BlockHeader `json:"header"` TXs []Tx `json:"payload"` }
type BlockHeader ¶
type State ¶
func NewStateFromDisk ¶
func (*State) LatestBlock ¶
func (*State) LatestBlockHash ¶
func (*State) NextBlockNumber ¶
Click to show internal directories.
Click to hide internal directories.