Function sc_consensus_aura::standalone::slot_duration_at
source · pub fn slot_duration_at<A, B, C>(
client: &C,
block_hash: B::Hash
) -> CResult<SlotDuration>where
A: Codec,
B: BlockT,
C: AuxStore + ProvideRuntimeApi<B>,
C::Api: AuraApi<B, A>,
Expand description
Get the slot duration for Aura by reading from a runtime API at a given block’s state.