referrerpolicy=no-referrer-when-downgrade
cumulus_client_consensus_aura

Function slot_duration

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

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