pub trait ValidatorIndexToAccountIdConverter {
    // Required method
    fn account(
        &self,
        session: SessionId,
        validator_index: NodeIndex
    ) -> Option<AccountId>;
}

Required Methods§

source

fn account( &self, session: SessionId, validator_index: NodeIndex ) -> Option<AccountId>

Implementors§

source§

impl<C, B, BE, RA> ValidatorIndexToAccountIdConverter for ValidatorIndexToAccountIdConverterImpl<C, B, BE, RA>
where C: ClientForPhron<B, BE> + Send + Sync + 'static, C::Api: PhronSessionApi<B> + AuraApi<B, AuraId>, B: Block<Hash = BlockHash>, B::Header: Header<Number = BlockNumber>, BE: Backend<B> + 'static, RA: RuntimeApi,