CCF
Loading...
Searching...
No Matches
Classes | Public Attributes | List of all members
ccf::kv::ConsensusDetails Struct Reference

#include <kv_types.h>

Classes

struct  Ack
 

Public Attributes

std::vector< Configurationconfigs = {}
 
std::unordered_map< ccf::NodeId, Ackacks = {}
 
MembershipState membership_state
 
std::optional< LeadershipStateleadership_state = std::nullopt
 
std::optional< RetirementPhaseretirement_phase = std::nullopt
 
std::optional< std::unordered_map< ccf::NodeId, ccf::SeqNo > > learners
 
std::optional< ccf::ReconfigurationTypereconfiguration_type = std::nullopt
 
std::optional< ccf::NodeIdprimary_id = std::nullopt
 
ccf::View current_view = 0
 
bool ticking = false
 

Member Data Documentation

◆ acks

std::unordered_map<ccf::NodeId, Ack> ccf::kv::ConsensusDetails::acks = {}

◆ configs

std::vector<Configuration> ccf::kv::ConsensusDetails::configs = {}

◆ current_view

ccf::View ccf::kv::ConsensusDetails::current_view = 0

◆ leadership_state

std::optional<LeadershipState> ccf::kv::ConsensusDetails::leadership_state = std::nullopt

◆ learners

std::optional<std::unordered_map<ccf::NodeId, ccf::SeqNo> > ccf::kv::ConsensusDetails::learners
Initial value:
=
std::nullopt

◆ membership_state

MembershipState ccf::kv::ConsensusDetails::membership_state

◆ primary_id

std::optional<ccf::NodeId> ccf::kv::ConsensusDetails::primary_id = std::nullopt

◆ reconfiguration_type

std::optional<ccf::ReconfigurationType> ccf::kv::ConsensusDetails::reconfiguration_type = std::nullopt

◆ retirement_phase

std::optional<RetirementPhase> ccf::kv::ConsensusDetails::retirement_phase = std::nullopt

◆ ticking

bool ccf::kv::ConsensusDetails::ticking = false

The documentation for this struct was generated from the following file: