CCF
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Enumerations | Functions
node_info.h File Reference
#include "ccf/crypto/pem.h"
#include "ccf/ds/json.h"
#include "ccf/ds/quote_info.h"
#include "ccf/kv/version.h"
#include "ccf/service/node_info_network.h"
#include <fmt/format.h>
#include <optional>

Go to the source code of this file.

Classes

struct  ccf::NodeInfo
 
struct  formatter< ccf::NodeStatus >
 

Namespaces

namespace  ccf
 

Macros

#define FMT_HEADER_ONLY
 

Enumerations

enum class  ccf::NodeStatus { ccf::PENDING = 0 , ccf::TRUSTED = 1 , ccf::RETIRED = 2 }
 

Functions

 ccf::DECLARE_JSON_ENUM (NodeStatus, {{NodeStatus::PENDING, "Pending"}, {NodeStatus::TRUSTED, "Trusted"}, {NodeStatus::RETIRED, "Retired"}})
 
 ccf::DECLARE_JSON_TYPE_WITH_BASE_AND_OPTIONAL_FIELDS (NodeInfo, NodeInfoNetwork)
 
 ccf::DECLARE_JSON_REQUIRED_FIELDS (NodeInfo, quote_info, encryption_pub_key, status)
 
 ccf::DECLARE_JSON_OPTIONAL_FIELDS (NodeInfo, cert, ledger_secret_seqno, code_digest, certificate_signing_request, public_key, node_data, retired_committed)
 

Macro Definition Documentation

◆ FMT_HEADER_ONLY

#define FMT_HEADER_ONLY