Function sc_consensus_aura::standalone::slot_duration

source ·
pub fn slot_duration<A, B, C>(client: &C) -> Result<SlotDuration>
where A: Codec, B: BlockT, C: AuxStore + 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.