dash_sdk::query_types

Type Alias MasternodeProtocolVotes

pub type MasternodeProtocolVotes = IndexMap<ProTxHash, Option<MasternodeProtocolVote>>;
Expand description

Information about protocol version voted by each node.

Information about protocol version voted by each node, returned by [ProtocolVersion::fetch_many()]. Indexed by [ProTxHash] of nodes.

Aliased Type§

struct MasternodeProtocolVotes { /* private fields */ }

Trait Implementations§

source§

impl MasternodeProtocolVoteEx<ProTxHash> for MasternodeProtocolVotes

source§

fn fetch_votes<'life0, 'async_trait>( sdk: &'life0 Sdk, start_protxhash: Option<ProTxHash>, limit: Option<u32>, ) -> Pin<Box<dyn Future<Output = Result<MasternodeProtocolVotes, Error>> + Send + 'async_trait>>
where 'life0: 'async_trait,

Fetch masternode votes for version update from Platform. Read more