Files
pezkuwi-subxt/substrate/frame/aura
Bastian Köcher c8136bd1df Remove serde requirement from FRAME macros (#8628)
* Remove `serde` requirement from FRAME macros

Currently there is some implicit requirement on `serde` being present in
the `Cargo.toml` of a pallet when `GenesisConfig` is used. This pr
removes this requirement by using the serde attribute `serde(crate = "..")`.

* build a unique reexport of serde in impl_opaque_keys, by abusing paste doc concatenation

* Optimize

Co-authored-by: thiolliere <gui.thiolliere@gmail.com>
2021-04-16 12:42:37 +02:00
..
2020-11-30 22:01:18 +00:00

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.

License: Apache-2.0