Expand description
The AuRa consensus algorithm for parachains.
This extends the Substrate provided AuRa consensus implementation to make it compatible for
parachains. The main entry points for of this consensus algorithm are AuraConsensus::build
and import_queue
.
For more information about AuRa, the Substrate crate should be checked.
Modules§
- The core collator logic for Aura - slot claiming, block proposing, and collation packaging.
- Stock, pure Aura collators.
Structs§
- The implementation of the AURA consensus for parachains.
- A verifier for Aura blocks.
- BuildAuraConsensusParamsDeprecatedParameters of
AuraConsensus::build
. - Parameters of
build_aura_worker
. - Parameters of
build_verifier
. - Parameters for
import_queue
. - A unit type wrapper to express the proportion of a slot.
Traits§
- Slot specific extension that the inherent data provider needs to implement.
Functions§
- Build the
AuraVerifier
. - Start an import queue for the Aura consensus algorithm.
- Get the slot duration for Aura by reading from a runtime API at the best block’s state.
- Get the slot duration for Aura by reading from a runtime API at a given block’s state.