[][src]Crate pallet_aura

Aura Module

Overview

The Aura module extends Aura consensus by managing offline reporting.

Interface

Public Functions

  • slot_duration - Determine the Aura slot-duration based on the Timestamp module configuration.
  • Timestamp: The Timestamp module is used in Aura to track consensus rounds (via slots).

References

If you're interested in hacking on this module, it is useful to understand the interaction with substrate/primitives/inherents/src/lib.rs and, specifically, the required implementation of ProvideInherent and ProvideInherentData to create and check inherents.

Structs

Authorities

The current authorities

GenesisConfig

Genesis config for the module, allow to build genesis storage.

Module

Enums

Call

Dispatchable calls.

Traits

Trait

Type Definitions

AuraAuthorId

Find the authority ID of the Aura authority who authored the current block.