Available on crate feature
parse2
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§
- NdaNetwork
Status Version Flavour network-status-version
flavour value- NdaVote
Status vote-status
status argument (for a specific flavour)- NddAuthority
Entry - Authority Key Entry (in a network status document)
- NddAuthority
Section - An authority section in a consensus
- NddDirectory
Footer directory-footer
section- NdiAuthority
DirSource dir-source
- NdiVote
Status vote-status
value- NdiVoting
Delay voting-delay
value- Network
Status - Network status document (vote, consensus, or microdescriptor consensus) - body
- Network
Status Signatures - Signatures on a network status document
- Network
Status Signed - Signed (unverified) form of
NetworkStatus
- Router
- Router entry in a network status
Enums§
- NddAuthority
Entry OrSuperseded - An element of an authority section in a consensus