Crate pezcumulus_client_consensus_aura

Crate pezcumulus_client_consensus_aura 

Source
Expand description

The AuRa consensus algorithm for teyrchains.

This extends the Bizinikiwi provided AuRa consensus implementation to make it compatible for teyrchains.

For more information about AuRa, the Bizinikiwi 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§

AuraVerifier
A verifier for Aura blocks.
BuildAuraWorkerParams
Parameters of build_aura_worker.
BuildVerifierParams
Parameters of build_verifier.
ImportQueueParams
Parameters for import_queue.
SlotProportion
A unit type wrapper to express the proportion of a slot.

Traits§

InherentDataProviderExt
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.