Skip to main content

Module each_flavor

Module each_flavor 

Source
Expand description

consensus document builders - items that vary by consensus flavor

This file is reincluded multiple times, by the macros in crate::doc::ns_variety_definition_macros, once for votes, and once for each consensus flavour. It is not a module crate::doc::netstatus::rs::each_flavor.

Each time this file is included by one of the macros mentioned above, the ns_*** macros (such as ns_const_name!) may expand to different values.

See crate::doc::ns_variety_definition_macros.

Re-exports§

pub use crate::doc::netstatus::plain::Consensus;
pub use crate::doc::netstatus::plain::Preamble;

Structs§

ConsensusBuilder
A builder object used to construct a consensus.
VoterInfoBuilder
Builder object for constructing a ConsensusAuthorityEntry