Documentation ¶
Index ¶
Constants ¶
View Source
const CodecVersion = 0
Variables ¶
View Source
var Codec codec.Manager
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block interface { ID() ids.ID ParentID() ids.ID Block() []byte Bytes() []byte // contains filtered or unexported methods }
func BuildOption ¶
BuildOption the option block [parentID] is the ID of this option's wrapper parent block [innerBytes] is the byte representation of a child option block
func Parse ¶
Parse a block and verify that the signature attached to the block is valid for the certificate provided in the block.
func ParseWithoutVerification ¶ added in v1.11.9
ParseWithoutVerification parses a block without verifying that the signature on the block is correct.
Click to show internal directories.
Click to hide internal directories.