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§

NdiAuthorityDirSource
dir-source
NdiVoteStatus
vote-status value
NdiVotingDelay
voting-delay value
NetworkStatus
Network status document (vote, consensus, or microdescriptor consensus) - body
NetworkStatusUnverified
Signed (unverified) form of NetworkStatus
NetworkStatusUnverifiedParsedBody
The parsed but unverified body part of a signed network document (working type)

Type Aliases§

NddDirectoryFooter
The real footer type.
NetworkStatusSignatures
The real signatures section type.
NetworkStatusVersionItem
The real network-status-version item type.
Router
The real router status entry type.