pub trait AuthorityDiscoveryApi<Block: BlockT>: Core<Block> {
// Provided method
fn authorities(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash
) -> Result<Vec<AuthorityId>, ApiError> { ... }
}
Expand description
The authority discovery api.
This api is used by the client/authority-discovery
module to retrieve identifiers
of the current and next authority set.
Provided Methods§
Retrieve authority identifiers of the current and next authority set.