Expand description
The definition of a ConsensusHook
trait for consensus logic to manage the backlog
of parachain blocks ready to submit to the relay chain, as well as some basic implementations.
Structs§
- Expect
Parent Included - A special consensus hook for handling the migration to asynchronous backing gracefully, even if collators haven’t been updated to provide the last included parent in the state proof yet.
- Fixed
Capacity Unincluded Segment - A consensus hook for a fixed unincluded segment length. This hook does nothing but set the capacity of the unincluded segment to the constant N.
- Unincluded
Segment Capacity - The possible capacity of the unincluded segment.
Traits§
- Consensus
Hook - The consensus hook for dealing with the unincluded segment.
Type Aliases§
- Require
Parent Included - A fixed-capacity unincluded segment hook, which requires that the parent block is included prior to the current block being authored.