Modules§
- import_
queue - (unstable) Composable utilities for constructing import queues for parachains.
Structs§
- Parachain
Block Import - Parachain specific block import.
- Parachain
Candidate - The result of
ParachainConsensus::produce_candidate
. - Parent
Search Params - Parameters when searching for suitable parents to build on top of.
- Potential
Parent - A potential parent block returned from
find_potential_parents
Enums§
- Level
Limit - 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§
- Parachain
Block Import Marker - Marker trait denoting a block import type that fits the parachain requirements.
- Parachain
Consensus - A specific parachain consensus implementation that can be used by a collator to produce candidates.
- Validation
Code Hash Provider - 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.