|
CCF
|
Classes | |
| struct | GossipRequest |
| struct | IAmOpenRequest |
| struct | NodeInfo |
| struct | RequestNodeInfo |
| struct | TaggedWithNodeInfo |
Typedefs | |
| using | NodeInfoMap = ServiceMap< sealing_recovery::Name, ccf::recovery_decision_protocol::NodeInfo > |
| using | Gossips = ServiceMap< sealing_recovery::Name, ccf::TxID > |
| using | ChosenNode = ServiceValue< sealing_recovery::Name > |
| using | Votes = ServiceSet< sealing_recovery::Name > |
| using | SMState = ServiceValue< ccf::recovery_decision_protocol::StateMachine > |
| using | TimeoutSMState = ServiceValue< ccf::recovery_decision_protocol::StateMachine > |
| using | OpenKind = ServiceValue< ccf::recovery_decision_protocol::OpenKinds > |
Enumerations | |
| enum class | StateMachine : uint8_t { GOSSIPING = 0 , VOTING , OPENING , JOINING , OPEN } |
| enum class | OpenKinds : uint8_t { QUORUM = 0 , FAILOVER } |
Functions | |
| std::string | service_fingerprint_from_pem (const ccf::crypto::Pem &pem) |
| DECLARE_JSON_TYPE (RequestNodeInfo) | |
| DECLARE_JSON_REQUIRED_FIELDS (RequestNodeInfo, quote_info, location, service_cert_der) | |
| DECLARE_JSON_TYPE_WITH_BASE (NodeInfo, RequestNodeInfo) | |
| DECLARE_JSON_REQUIRED_FIELDS (NodeInfo, node_cert_der) | |
| DECLARE_JSON_ENUM (StateMachine, {{StateMachine::GOSSIPING, "Gossiping"}, {StateMachine::VOTING, "Voting"}, {StateMachine::OPENING, "Opening"}, {StateMachine::JOINING, "Joining"}, {StateMachine::OPEN, "Open"}}) | |
| DECLARE_JSON_ENUM (OpenKinds, {{OpenKinds::QUORUM, "Quorum"}, {OpenKinds::FAILOVER, "Failover"}}) | |
| DECLARE_JSON_TYPE (TaggedWithNodeInfo) | |
| DECLARE_JSON_REQUIRED_FIELDS (TaggedWithNodeInfo, info) | |
| DECLARE_JSON_TYPE_WITH_BASE (GossipRequest, TaggedWithNodeInfo) | |
| DECLARE_JSON_REQUIRED_FIELDS (GossipRequest, txid) | |
| DECLARE_JSON_TYPE_WITH_BASE (IAmOpenRequest, TaggedWithNodeInfo) | |
| DECLARE_JSON_REQUIRED_FIELDS (IAmOpenRequest, prev_service_fingerprint, txid) | |
| using ccf::recovery_decision_protocol::Gossips = typedef ServiceMap<sealing_recovery::Name, ccf::TxID> |
| using ccf::recovery_decision_protocol::NodeInfoMap = typedef ServiceMap< sealing_recovery::Name, ccf::recovery_decision_protocol::NodeInfo> |
| using ccf::recovery_decision_protocol::OpenKind = typedef ServiceValue<ccf::recovery_decision_protocol::OpenKinds> |
| using ccf::recovery_decision_protocol::SMState = typedef ServiceValue<ccf::recovery_decision_protocol::StateMachine> |
| using ccf::recovery_decision_protocol::TimeoutSMState = typedef ServiceValue<ccf::recovery_decision_protocol::StateMachine> |
| using ccf::recovery_decision_protocol::Votes = typedef ServiceSet<sealing_recovery::Name> |
|
strong |
|
strong |
| ccf::recovery_decision_protocol::DECLARE_JSON_ENUM | ( | OpenKinds | , |
| {{OpenKinds::QUORUM, "Quorum"}, {OpenKinds::FAILOVER, "Failover"}} | |||
| ) |
| ccf::recovery_decision_protocol::DECLARE_JSON_ENUM | ( | StateMachine | , |
| {{StateMachine::GOSSIPING, "Gossiping"}, {StateMachine::VOTING, "Voting"}, {StateMachine::OPENING, "Opening"}, {StateMachine::JOINING, "Joining"}, {StateMachine::OPEN, "Open"}} | |||
| ) |
| ccf::recovery_decision_protocol::DECLARE_JSON_REQUIRED_FIELDS | ( | GossipRequest | , |
| txid | |||
| ) |
| ccf::recovery_decision_protocol::DECLARE_JSON_REQUIRED_FIELDS | ( | IAmOpenRequest | , |
| prev_service_fingerprint | , | ||
| txid | |||
| ) |
| ccf::recovery_decision_protocol::DECLARE_JSON_REQUIRED_FIELDS | ( | NodeInfo | , |
| node_cert_der | |||
| ) |
| ccf::recovery_decision_protocol::DECLARE_JSON_REQUIRED_FIELDS | ( | RequestNodeInfo | , |
| quote_info | , | ||
| location | , | ||
| service_cert_der | |||
| ) |
| ccf::recovery_decision_protocol::DECLARE_JSON_REQUIRED_FIELDS | ( | TaggedWithNodeInfo | , |
| info | |||
| ) |
| ccf::recovery_decision_protocol::DECLARE_JSON_TYPE | ( | RequestNodeInfo | ) |
| ccf::recovery_decision_protocol::DECLARE_JSON_TYPE | ( | TaggedWithNodeInfo | ) |
| ccf::recovery_decision_protocol::DECLARE_JSON_TYPE_WITH_BASE | ( | GossipRequest | , |
| TaggedWithNodeInfo | |||
| ) |
| ccf::recovery_decision_protocol::DECLARE_JSON_TYPE_WITH_BASE | ( | IAmOpenRequest | , |
| TaggedWithNodeInfo | |||
| ) |
| ccf::recovery_decision_protocol::DECLARE_JSON_TYPE_WITH_BASE | ( | NodeInfo | , |
| RequestNodeInfo | |||
| ) |
|
inline |