referrerpolicy=no-referrer-when-downgrade
pub trait GenesisAuthoritySetProvider<Block: BlockT> {
    // Required method
    fn get(&self) -> Result<AuthorityList, ClientError>;
}
Expand description

Provider for the Grandpa authority set configured on the genesis block.

Required Methods§

source

fn get(&self) -> Result<AuthorityList, ClientError>

Get the authority set at the genesis block.

Implementations on Foreign Types§

source§

impl<Block: BlockT, E, Client> GenesisAuthoritySetProvider<Block> for Arc<Client>
where E: CallExecutor<Block>, Client: ExecutorProvider<Block, Executor = E> + HeaderBackend<Block>,

source§

fn get(&self) -> Result<AuthorityList, ClientError>

Implementors§