pub trait RuntimeApi {
    type Error: Display;

    // Required method
    fn next_aura_authorities(
        &self,
        at: BlockHash
    ) -> Result<Vec<AuraId>, Self::Error>;
}
Expand description

Trait handling connection between host code and runtime storage

Required Associated Types§

Required Methods§

source

fn next_aura_authorities( &self, at: BlockHash ) -> Result<Vec<AuraId>, Self::Error>

Returns aura authorities for the next session using state from block at

Implementors§

source§

impl<C, B, BE> RuntimeApi for RuntimeApiImpl<C, B, BE>
where C: ClientForPhron<B, BE> + Send + Sync + 'static, C::Api: PhronSessionApi<B>, B: Block<Hash = BlockHash>, BE: Backend<B> + 'static,