Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ParsedHeader ¶
type ParsedHeader struct { Base *gethtypes.Header Vanity [32]byte Validators []common.Address Vote interface{} Round [4]byte Seals [][]byte }
func ParseHeader ¶
func ParseHeader(header *gethtypes.Header) (*ParsedHeader, error)
func (ParsedHeader) GetChainHeaderBytes ¶
func (h ParsedHeader) GetChainHeaderBytes() ([]byte, error)
func (ParsedHeader) GetSealingHeaderBytes ¶
func (h ParsedHeader) GetSealingHeaderBytes() ([]byte, error)
func (ParsedHeader) ValidateAndGetCommitSeals ¶
func (h ParsedHeader) ValidateAndGetCommitSeals() ([][]byte, error)
Click to show internal directories.
Click to hide internal directories.