referrerpolicy=no-referrer-when-downgrade
sc_consensus_aura::standalone

Function slot_duration

Source
pub fn slot_duration<A, B, C>(client: &C) -> Result<SlotDuration>
where A: Codec, B: BlockT, C: ProvideRuntimeApi<B> + UsageProvider<B>, C::Api: AuraApi<B, A>,
Expand description

Get the slot duration for Aura by reading from a runtime API at the best block’s state.