mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 06:47:57 +00:00
08f680e281
* aura: add feature-flagged explicit slot duration type * fmt * add some comments * have node-template use new explicit feature * fix mock * fmt * use the experimental feature flag instead * checkout master Cargo.lock
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.
Related Modules
- 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