Module vote

Module vote 

Source
Available on crate features parse2 and plain-consensus only.
Expand description

network status documents - types that vary by flavour

This file is reincluded multiple times, once for each consensus flavour, and once for votes.

Each time, with different behaviour for the macros ns_***.

Thus, this file generates (for example) all three of: ns::NetworkStatus aka NetworkStatusNs, NetworkStatusMd and NetworkStatusVote.

(We treat votes as a “flavour”.)

Structs§

NdaNetworkStatusVersionFlavour
network-status-version flavour value
NdaVoteStatus
vote-status status argument (for a specific flavour)
NddAuthorityEntry
Authority Key Entry (in a network status document)
NddAuthoritySection
An authority section in a vote
NddDirectoryFooter
directory-footer section
NdiAuthorityDirSource
dir-source
NdiVoteStatus
vote-status value
NdiVotingDelay
voting-delay value
NetworkStatus
Network status document (vote, consensus, or microdescriptor consensus) - body
NetworkStatusSignatures
Signatures on a network status document
NetworkStatusSigned
Signed (unverified) form of NetworkStatus

Type Aliases§

Router
The real router status entry type.