Crate noble_aura[][src]

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 tetcore/primitives/inherents/src/lib.rs and, specifically, the required implementation of ProvideInherent and ProvideInherentData to create and check inherents.

Re-exports

pub use $crate::traits::GetNobleVersion as _;

Structs

Authorities

The current authorities

GenesisConfig

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

Module

Enums

Call

Dispatchable calls.

Traits

Config

Type Definitions

AuraAuthorId

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