referrerpolicy=no-referrer-when-downgrade

Crate cumulus_client_consensus_common

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 from building a collation.
ParentSearchParams
Parameters when searching for suitable parents to build on top of.
ParentSearchResult
A potential parent block returned from find_parent_for_building

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.
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_parent_for_building
Find the best parent block to build on.
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.
spawn_parachain_consensus_tasks
Spawns the essential finalization tasks for parachain consensus.