referrerpolicy=no-referrer-when-downgrade

Crate sc_consensus_aura

source ·
Expand description

Aura (Authority-round) consensus in substrate.

Aura works by having a list of authorities A who are expected to roughly agree on the current time. Time is divided up into discrete slots of t seconds each. For each slot s, the author of that slot is A[s % |A|].

The author is allowed to issue one block but not more during that slot, and it will be built upon the longest valid chain that has been seen.

Blocks from future steps will be either deferred or rejected depending on how far in the future they are.

NOTE: Aura itself is designed to be generic over the crypto used.

Re-exports§

Modules§

  • Standalone functions used within the implementation of Aura.

Structs§

Enums§

Constants§

Traits§

  • API necessary for block authorship with aura.
  • A digest item which is usable with aura consensus.
  • An oracle for when major synchronization work is being undertaken.

Functions§

Type Aliases§