mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-19 06:31:03 +00:00
gossip: move authorities request to runtime api subsystem (#2798)
This commit is contained in:
@@ -437,6 +437,8 @@ pub type RuntimeApiSender<T> = oneshot::Sender<Result<T, crate::errors::RuntimeA
|
||||
/// A request to the Runtime API subsystem.
|
||||
#[derive(Debug)]
|
||||
pub enum RuntimeApiRequest {
|
||||
/// Get the next, current and some previous authority discovery set deduplicated.
|
||||
Authorities(RuntimeApiSender<Vec<AuthorityDiscoveryId>>),
|
||||
/// Get the current validator set.
|
||||
Validators(RuntimeApiSender<Vec<ValidatorId>>),
|
||||
/// Get the validator groups and group rotation info.
|
||||
|
||||
Reference in New Issue
Block a user