Documentation ¶
Index ¶
- func IsEmpty(o interface{}) bool
- func IsTypedNil(o interface{}) bool
- func PackBlockID(node ipld.Node) (types.BlockID, error)
- func PackLink(node ipld.Node) ([]byte, error)
- func PackTime(timeNode ipld.Node) (time.Time, error)
- func PackValidator(validatorNode ipld.Node) (*types.Validator, error)
- func PackVersion(versionNode ipld.Node) (tmversion.Consensus, error)
- func PackVote(voteNode ipld.Node) (*types.Vote, error)
- func RandomAddr() tmBytes.HexBytes
- func RandomHash() tmBytes.HexBytes
- func RandomSig() tmBytes.HexBytes
- func UnpackBlockID(bima ipld.MapAssembler, bid types.BlockID) error
- func UnpackTime(tma ipld.MapAssembler, t time.Time) error
- func UnpackValidator(vama ipld.MapAssembler, validator types.Validator) error
- func UnpackVersion(vma ipld.MapAssembler, version tmversion.Consensus) error
- func UnpackVote(vma ipld.MapAssembler, vote types.Vote) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PackBlockID ¶
PackBlockID returns the blockID from the provided ipld.Node
func PackValidator ¶
PackValidator packs a Validator from the provided ipld.Node This includes all fields of the Validator, not just the consensus fields
func PackVersion ¶
PackVersion returns the Consensus Version from the provided ipld.Node
func RandomAddr ¶
func RandomHash ¶
func UnpackBlockID ¶
UnpackBlockID unpacks BlockID into MapAssembler
func UnpackTime ¶
UnpackTime unpacks the provided time into the MapAssembler
func UnpackValidator ¶
UnpackValidator unpacks Validator into MapAssembler This includes all fields on the Validator, not just the consensus fields
func UnpackVersion ¶
UnpackVersion unpacks Consensus Version into MapAssembler
func UnpackVote ¶
UnpackVote unpacks Vote into MapAssembler
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.