Module block_header

Module block_header 

Source

Structs§

Approval
Block approval by other block producers with a signature
ApprovalMessage
Block approval by other block producers.
BlockHeaderInnerLite
BlockHeaderInnerRest
BlockHeaderInnerRestV2
Remove chunks_included from V1
BlockHeaderInnerRestV3
Add prev_height Add block_ordinal Add epoch_sync_data_hash Use new ValidatorPledge struct
BlockHeaderInnerRestV4
Add block_body_hash
BlockHeaderV1
BlockHeaderV2
V1 -> V2: Remove chunks_included from inner_reset
BlockHeaderV3
V2 -> V3: Add prev_height to inner_rest and use new ValidatorPledge
BlockHeaderV4
V3 -> V4: Add hash of block body to inner_rest

Enums§

ApprovalInner
The part of the block approval that is different for endorsements and skips
ApprovalType
The type of approvals. It is either approval from self or from a peer
BlockHeader
Versioned BlockHeader data structure. For each next version, document what are the changes between versions.