Skip to main content

Module netstatus

Module netstatus 

Source
Expand description

network status documents: shared between votes, consensuses and md consensuses

Modules§

cons
network status documents - types that vary by flavour
md
network status documents - types that vary by flavour
ns_per_flavour_macros 🔒
Machinery for defining multiple flavours of network status document
vote
network status documents - types that vary by flavour

Macros§

derive_deftly_template_DirectorySignatureHashesAccu 🔒
Ad-hoc derives for [DirectorySignatureHash] impls, avoiding copypasta bugs

Structs§

DirectorySignaturesHashesAccu
directory-signaturea hash algorithm argument
InvalidNetworkStatusVoteStatus
Unsupported vote-status value
NdiParams
params value
NdiR
r sub-document
NetworkStatusMd
Network status document (vote, consensus, or microdescriptor consensus) - body
NetworkStatusNs
Network status document (vote, consensus, or microdescriptor consensus) - body
NetworkStatusUnverifiedMd
Signed (unverified) form of NetworkStatus
NetworkStatusUnverifiedNs
Signed (unverified) form of NetworkStatus
NetworkStatusUnverifiedVote
Signed (unverified) form of NetworkStatus
NetworkStatusVote
Network status document (vote, consensus, or microdescriptor consensus) - body

Enums§

DirectorySignatureHashAlgo
directory-signature hash algorithm argument
NdaNetworkStatusVersion
network-status-version version value
NdiDirectorySignature
directory-signature value

Functions§

verify_general_timeless 🔒
Meat of the verification functions for network documents

Type Aliases§

RouterMd
The real router status entry type.
RouterNs
The real router status entry type.
RouterVote
The real router status entry type.