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

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

Traits

  • The consensus hook for dealing with the unincluded segment.

Type Definitions

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