|
CCF
|
Classes | |
| struct | GossipRequest |
| struct | Identity |
| struct | NodeInfo |
| struct | RequestNodeInfo |
| struct | TaggedWithNodeInfo |
Typedefs | |
| using | IntrinsicIdentifier = std::string |
| using | NetAddress = std::string |
| using | NodeInfoMap = ServiceMap< IntrinsicIdentifier, ccf::self_healing_open::NodeInfo > |
| using | Gossips = ServiceMap< IntrinsicIdentifier, ccf::kv::Version > |
| using | ChosenNode = ServiceValue< IntrinsicIdentifier > |
| using | Votes = ServiceSet< IntrinsicIdentifier > |
| using | SMState = ServiceValue< ccf::self_healing_open::StateMachine > |
| using | TimeoutSMState = ServiceValue< ccf::self_healing_open::StateMachine > |
| using | OpenKind = ServiceValue< ccf::self_healing_open::OpenKinds > |
Enumerations | |
| enum class | StateMachine : uint8_t { GOSSIPING = 0 , VOTING , OPENING , JOINING , OPEN } |
| enum class | OpenKinds : uint8_t { QUORUM = 0 , FAILOVER } |
Functions | |
| DECLARE_JSON_TYPE (Identity) | |
| DECLARE_JSON_REQUIRED_FIELDS (Identity, intrinsic_id, published_address) | |
| DECLARE_JSON_TYPE (NodeInfo) | |
| DECLARE_JSON_REQUIRED_FIELDS (NodeInfo, quote_info, identity, cert_der, service_identity) | |
| 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 (RequestNodeInfo) | |
| DECLARE_JSON_REQUIRED_FIELDS (RequestNodeInfo, quote_info, identity, service_identity) | |
| DECLARE_JSON_TYPE (TaggedWithNodeInfo) | |
| DECLARE_JSON_REQUIRED_FIELDS (TaggedWithNodeInfo, info) | |
| DECLARE_JSON_TYPE_WITH_BASE (GossipRequest, TaggedWithNodeInfo) | |
| DECLARE_JSON_REQUIRED_FIELDS (GossipRequest, txid) | |
| using ccf::self_healing_open::ChosenNode = typedef ServiceValue<IntrinsicIdentifier> |
| using ccf::self_healing_open::Gossips = typedef ServiceMap<IntrinsicIdentifier, ccf::kv::Version> |
| using ccf::self_healing_open::IntrinsicIdentifier = typedef std::string |
| using ccf::self_healing_open::NetAddress = typedef std::string |
| using ccf::self_healing_open::NodeInfoMap = typedef ServiceMap<IntrinsicIdentifier, ccf::self_healing_open::NodeInfo> |
| using ccf::self_healing_open::TimeoutSMState = typedef ServiceValue<ccf::self_healing_open::StateMachine> |
| using ccf::self_healing_open::Votes = typedef ServiceSet<IntrinsicIdentifier> |
|
strong |
|
strong |
| ccf::self_healing_open::DECLARE_JSON_ENUM | ( | OpenKinds | , |
| {{OpenKinds::QUORUM, "Quorum"}, {OpenKinds::FAILOVER, "Failover"}} | |||
| ) |
| ccf::self_healing_open::DECLARE_JSON_ENUM | ( | StateMachine | , |
| {{StateMachine::GOSSIPING, "Gossiping"}, {StateMachine::VOTING, "Voting"}, {StateMachine::OPENING, "Opening"}, {StateMachine::JOINING, "Joining"}, {StateMachine::OPEN, "Open"}} | |||
| ) |
| ccf::self_healing_open::DECLARE_JSON_REQUIRED_FIELDS | ( | GossipRequest | , |
| txid | |||
| ) |
| ccf::self_healing_open::DECLARE_JSON_REQUIRED_FIELDS | ( | Identity | , |
| intrinsic_id | , | ||
| published_address | |||
| ) |
| ccf::self_healing_open::DECLARE_JSON_REQUIRED_FIELDS | ( | NodeInfo | , |
| quote_info | , | ||
| identity | , | ||
| cert_der | , | ||
| service_identity | |||
| ) |
| ccf::self_healing_open::DECLARE_JSON_REQUIRED_FIELDS | ( | RequestNodeInfo | , |
| quote_info | , | ||
| identity | , | ||
| service_identity | |||
| ) |
| ccf::self_healing_open::DECLARE_JSON_REQUIRED_FIELDS | ( | TaggedWithNodeInfo | , |
| info | |||
| ) |
| ccf::self_healing_open::DECLARE_JSON_TYPE | ( | Identity | ) |
| ccf::self_healing_open::DECLARE_JSON_TYPE | ( | NodeInfo | ) |
| ccf::self_healing_open::DECLARE_JSON_TYPE | ( | RequestNodeInfo | ) |
| ccf::self_healing_open::DECLARE_JSON_TYPE | ( | TaggedWithNodeInfo | ) |
| ccf::self_healing_open::DECLARE_JSON_TYPE_WITH_BASE | ( | GossipRequest | , |
| TaggedWithNodeInfo | |||
| ) |