holders

package
v1.8.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBlockInfo

func NewBlockInfo(hash []byte, nonce uint64, rootHash []byte) *blockInfo

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

func NewReceiptsHolder(miniblocks []*block.MiniBlock) *receiptsHolder

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL