referrerpolicy=no-referrer-when-downgrade

Crate cumulus_client_consensus_common

Source

Modules§

import_queue
(unstable) Composable utilities for constructing import queues for parachains.

Structs§

ParachainBlockImport
Parachain specific block import.
ParachainCandidate
The result of ParachainConsensus::produce_candidate.
ParentSearchParams
Parameters when searching for suitable parents to build on top of.
PotentialParent
A potential parent block returned from find_potential_parents

Enums§

LevelLimit
Upper bound to the number of leaves allowed for each level of the blockchain.

Constants§

MAX_LEAVES_PER_LEVEL_SENSIBLE_DEFAULT
Value good enough to be used with parachains using the current backend implementation that ships with Substrate. This value may change in the future.

Traits§

ParachainBlockImportMarker
Marker trait denoting a block import type that fits the parachain requirements.
ParachainConsensus
A specific parachain consensus implementation that can be used by a collator to produce candidates.
ValidationCodeHashProvider
Provides the hash of validation code used for authoring/execution of blocks at a given hash.

Functions§

finalized_heads
Returns a stream that will yield finalized heads for the given para_id.
find_potential_parents
Perform a recursive search through blocks to find potential parent blocks for a new block.
load_abridged_host_configuration
Reads abridged host configuration from the relay chain storage at the given relay parent.
relay_slot_and_timestamp
Get the relay-parent slot and timestamp from a header.
run_parachain_consensus
Run the parachain consensus.
search_child_branches_for_parents
Start search for child blocks that can be used as parents.