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§
- collator
- The core collator logic for Aura - slot claiming, block proposing, and collation packaging.
- collators
- Stock, pure Aura collators.
- equivocation_
import_ queue
Structs§
- Aura
Consensus - The implementation of the AURA consensus for parachains.
- Aura
Verifier - A verifier for Aura blocks.
- Build
Aura Consensus Params Deprecated - Parameters of
AuraConsensus::build
. - Build
Aura Worker Params - Parameters of
build_aura_worker
. - Build
Verifier Params - Parameters of
build_verifier
. - Import
Queue Params - Parameters for
import_queue
. - Slot
Proportion - A unit type wrapper to express the proportion of a slot.
Traits§
- Inherent
Data Provider Ext - Slot specific extension that the inherent data provider needs to implement.
Functions§
- build_
verifier - Build the
AuraVerifier
. - import_
queue - Start an import queue for the Aura consensus algorithm.
- slot_
duration - Get the slot duration for Aura by reading from a runtime API at the best block’s state.
- slot_
duration_ at - Get the slot duration for Aura by reading from a runtime API at a given block’s state.