Skip to main content

Module cons

Module cons 

Source
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)
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
NetworkStatusUnverified
Signed (unverified) form of NetworkStatus
NetworkStatusUnverifiedParsedBody
The parsed but unverified body part of a signed network document (working type)

Type Aliases§

Router
The real router status entry type.