CCF
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Enumerations | Functions
self_healing_open.h File Reference
#include "ccf/ds/enum_formatter.h"
#include "ccf/ds/json.h"
#include "ccf/ds/quote_info.h"
#include "ccf/service/map.h"
#include "ccf/service/node_info_network.h"

Go to the source code of this file.

Classes

struct  ccf::self_healing_open::Identity
 
struct  ccf::self_healing_open::NodeInfo
 

Namespaces

namespace  ccf
 
namespace  ccf::self_healing_open
 
namespace  ccf::Tables
 

Typedefs

using ccf::self_healing_open::IntrinsicIdentifier = std::string
 
using ccf::self_healing_open::NetAddress = std::string
 
using ccf::self_healing_open::NodeInfoMap = ServiceMap< IntrinsicIdentifier, ccf::self_healing_open::NodeInfo >
 
using ccf::self_healing_open::Gossips = ServiceMap< IntrinsicIdentifier, ccf::kv::Version >
 
using ccf::self_healing_open::ChosenNode = ServiceValue< IntrinsicIdentifier >
 
using ccf::self_healing_open::Votes = ServiceSet< IntrinsicIdentifier >
 
using ccf::self_healing_open::SMState = ServiceValue< ccf::self_healing_open::StateMachine >
 
using ccf::self_healing_open::TimeoutSMState = ServiceValue< ccf::self_healing_open::StateMachine >
 
using ccf::self_healing_open::OpenKind = ServiceValue< ccf::self_healing_open::OpenKinds >
 

Enumerations

enum class  ccf::self_healing_open::StateMachine : uint8_t {
  ccf::self_healing_open::GOSSIPING = 0 , ccf::self_healing_open::VOTING , ccf::self_healing_open::OPENING , ccf::self_healing_open::JOINING ,
  ccf::self_healing_open::OPEN
}
 
enum class  ccf::self_healing_open::OpenKinds : uint8_t { ccf::self_healing_open::QUORUM = 0 , ccf::self_healing_open::FAILOVER }
 

Functions

 ccf::self_healing_open::DECLARE_JSON_TYPE (Identity)
 
 ccf::self_healing_open::DECLARE_JSON_REQUIRED_FIELDS (Identity, intrinsic_id, published_address)
 
 ccf::self_healing_open::DECLARE_JSON_TYPE (NodeInfo)
 
 ccf::self_healing_open::DECLARE_JSON_REQUIRED_FIELDS (NodeInfo, quote_info, identity, cert_der, service_identity)
 
 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_ENUM (OpenKinds, {{OpenKinds::QUORUM, "Quorum"}, {OpenKinds::FAILOVER, "Failover"}})