Documentation ¶
Index ¶
- func NewBlockInfo(hash []byte, nonce uint64, rootHash []byte) *blockInfo
- func NewDefaultRootHashesHolder(rootHash []byte) *rootHashHolder
- func NewReceiptsHolder(miniblocks []*block.MiniBlock) *receiptsHolder
- func NewRootHashHolder(rootHash []byte, epoch core.OptionalUint32) *rootHashHolder
- func NewRootHashHolderAsEmpty() *rootHashHolder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBlockInfo ¶
NewBlockInfo returns a new instance of a blockInfo struct
func NewDefaultRootHashesHolder ¶ added in v1.7.14
func NewDefaultRootHashesHolder(rootHash []byte) *rootHashHolder
NewDefaultRootHashesHolder creates a rootHashHolder without an epoch set
func NewReceiptsHolder ¶
NewReceiptsHolder creates a receiptsHolder
func NewRootHashHolder ¶
func NewRootHashHolder(rootHash []byte, epoch core.OptionalUint32) *rootHashHolder
NewRootHashHolder creates a rootHashHolder
func NewRootHashHolderAsEmpty ¶
func NewRootHashHolderAsEmpty() *rootHashHolder
NewRootHashHolderAsEmpty creates an empty rootHashHolder
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.