Function sc_consensus_babe::configuration
source · pub fn configuration<B: BlockT, C>(
client: &C
) -> ClientResult<BabeConfiguration>where
C: AuxStore + ProvideRuntimeApi<B> + UsageProvider<B>,
C::Api: BabeApi<B>,
Expand description
Read configuration from the runtime state at current best block.