referrerpolicy=no-referrer-when-downgrade

Module consensus_hook

Source
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§

ExpectParentIncluded
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.
FixedCapacityUnincludedSegment
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.
UnincludedSegmentCapacity
The possible capacity of the unincluded segment.

Traits§

ConsensusHook
The consensus hook for dealing with the unincluded segment.

Type Aliases§

RequireParentIncluded
A fixed-capacity unincluded segment hook, which requires that the parent block is included prior to the current block being authored.