Crate pallet_aura

source ·
Expand description

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

Re-exports

Modules

  • Migrations for the AURA pallet.
  • The pallet module in each FRAME pallet hosts the most important items needed to construct this pallet.

Structs

  • A slot duration provider which infers the slot duration from the [pallet_timestamp::Config::MinimumPeriod] by multiplying it by two, to ensure that authors have the majority of their slot to author within.

Type Definitions

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