sp_partner_chains_consensus_aura/lib.rs
1pub mod block_proposal;
2pub mod inherent_digest;
3
4pub use inherent_digest::InherentDigest;
5use sp_consensus_slots::Slot;
6
7/// Provides the current slot for Aura verification purpose.
8pub trait CurrentSlotProvider {
9 /// Returns the current slot, according to wall-time and slot duration configuration.
10 fn slot(&self) -> Slot;
11}