|
| ccf::kv::DECLARE_JSON_TYPE (TxID) |
|
void | ccf::kv::to_json (nlohmann::json &j, const Configuration::NodeInfo &ni) |
|
void | ccf::kv::from_json (const nlohmann::json &j, Configuration::NodeInfo &ni) |
|
std::string | ccf::kv::schema_name (const Configuration::NodeInfo *) |
|
void | ccf::kv::fill_json_schema (nlohmann::json &schema, const Configuration::NodeInfo *) |
|
| ccf::kv::DECLARE_JSON_ENUM (LeadershipState, {{LeadershipState::None, "None"}, {LeadershipState::Leader, "Leader"}, {LeadershipState::Follower, "Follower"}, {LeadershipState::Candidate, "Candidate"}}) |
|
| ccf::kv::DECLARE_JSON_ENUM (MembershipState, {{MembershipState::Active, "Active"}, {MembershipState::Retired, "Retired"}}) |
|
| ccf::kv::DECLARE_JSON_ENUM (RetirementPhase, {{RetirementPhase::Ordered, "Ordered"}, {RetirementPhase::Signed, "Signed"}, {RetirementPhase::Completed, "Completed"}, {RetirementPhase::RetiredCommitted, "RetiredCommitted"}}) |
|
| ccf::kv::DECLARE_JSON_TYPE (Configuration) |
|
| ccf::kv::DECLARE_JSON_REQUIRED_FIELDS (Configuration, idx, nodes, rid) |
|
| ccf::kv::DECLARE_JSON_TYPE (ConsensusDetails::Ack) |
|
| ccf::kv::DECLARE_JSON_REQUIRED_FIELDS (ConsensusDetails::Ack, seqno, last_received_ms) |
|
| ccf::kv::DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (ConsensusDetails) |
|
| ccf::kv::DECLARE_JSON_REQUIRED_FIELDS (ConsensusDetails, configs, acks, membership_state, primary_id, current_view, ticking) |
|
| ccf::kv::DECLARE_JSON_OPTIONAL_FIELDS (ConsensusDetails, reconfiguration_type, learners, leadership_state, retirement_phase) |
|