referrerpolicy=no-referrer-when-downgrade
sc_consensus_grandpa

Trait GenesisAuthoritySetProvider

Source
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§