Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct { Height uint64 `json:"height"` PrevHash []byte `json:"prevHash"` Hash []byte `json:"hash"` Transactions []*transaction.FinishedTransaction `json:"transactions"` Root []byte `json:"root"` SnapRoot []byte `json:"snaproot"` Version uint64 `json:"version"` Timestamp uint64 `json:"timestamp"` UsedTime uint64 `json:"usedtime"` Miner address.Address `json:"miner"` Difficulty *big.Int `json:"difficulty"` GlobalDifficulty *big.Int `json:"globaldifficulty"` Nonce uint64 `json:"nonce"` GasLimit uint64 `json:"gasLimit"` GasUsed uint64 `json:"gasUsed"` }
Block Struct
func Deserialize ¶
Deserialize deserialization of JSON formatted block data errUpdated
Click to show internal directories.
Click to hide internal directories.