Function sc_consensus_aura::standalone::fetch_authorities
source · pub fn fetch_authorities<A, B, C>(
client: &C,
parent_hash: B::Hash
) -> Result<Vec<A>, ConsensusError>where
A: Codec + Debug,
B: BlockT,
C: ProvideRuntimeApi<B>,
C::Api: AuraApi<B, A>,
Expand description
Load the current set of authorities from a runtime at a specific block.