Type Alias tor_netdoc::doc::netstatus::MdConsensus
source · pub type MdConsensus = Consensus<MdConsensusRouterStatus>;
Expand description
A consensus document that lists relays along with their microdescriptor documents.
Aliased Type§
struct MdConsensus {
pub header: ConsensusHeader,
pub voters: Vec<ConsensusVoterInfo>,
pub relays: Vec<MdConsensusRouterStatus>,
pub footer: Footer,
}
Fields§
§header: ConsensusHeader
Available on crate feature
dangerous-expose-struct-fields
only.Part of the header shared by all consensus types.
voters: Vec<ConsensusVoterInfo>
Available on crate feature
dangerous-expose-struct-fields
only.List of voters whose votes contributed to this consensus.
relays: Vec<MdConsensusRouterStatus>
Available on crate feature
dangerous-expose-struct-fields
only.A list of routerstatus entries for the relays on the network, with one entry per relay.
These are currently ordered by the router’s RSA identity, but this is not to be relied on, since we may want to even abolish RSA at some point!
Available on crate feature
dangerous-expose-struct-fields
only.Footer for the consensus object.