CCF
Loading...
Searching...
No Matches
Public Attributes | List of all members
ccf::NodeInfo Struct Reference

#include <node_info.h>

Inherits ccf::NodeInfoNetwork.

Public Attributes

QuoteInfo quote_info
 Node enclave quote.
 
ccf::crypto::Pem encryption_pub_key
 Node encryption public key, used to distribute ledger re-keys.
 
NodeStatus status = NodeStatus::PENDING
 Node status.
 
std::optional< ccf::kv::Versionledger_secret_seqno = std::nullopt
 
std::optional< std::string > code_digest = std::nullopt
 Code identity for the node.
 
std::optional< ccf::crypto::Pemcertificate_signing_request = std::nullopt
 Node certificate signing request.
 
std::optional< ccf::crypto::Pempublic_key = std::nullopt
 Public key.
 
nlohmann::json node_data = nullptr
 
std::optional< ccf::crypto::Pemcert = std::nullopt
 
bool retired_committed = false
 
- Public Attributes inherited from ccf::NodeInfoNetwork_v2
NetInterface node_to_node_interface
 Node-to-node network interface.
 
RpcInterfaces rpc_interfaces
 RPC interfaces.
 
std::optional< ACMEacme = std::nullopt
 ACME configuration.
 
bool will_locally_seal_ledger_secrets = false
 

Additional Inherited Members

- Public Types inherited from ccf::NodeInfoNetwork_v2
using NetAddress = std::string
 
using RpcInterfaceID = std::string
 
using NetProtocol = std::string
 
using RpcInterfaces = std::map< RpcInterfaceID, NetInterface >
 RPC interface mapping.
 
- Public Member Functions inherited from ccf::NodeInfoNetwork
 NodeInfoNetwork ()=default
 
 NodeInfoNetwork (const NodeInfoNetwork_v2 &other)
 
bool operator== (const NodeInfoNetwork &other) const
 

Member Data Documentation

◆ cert

std::optional<ccf::crypto::Pem> ccf::NodeInfo::cert = std::nullopt

Fields below are deprecated Deprecated as of 2.x. Node certificate. Only set for 1.x releases. Further releases record node identity in public_key field. Service-endorsed certificate is recorded in "public:ccf.nodes.endorsed_certificates" table

◆ certificate_signing_request

std::optional<ccf::crypto::Pem> ccf::NodeInfo::certificate_signing_request = std::nullopt

Node certificate signing request.

Fields below are added in 2.x

◆ code_digest

std::optional<std::string> ccf::NodeInfo::code_digest = std::nullopt

Code identity for the node.

◆ encryption_pub_key

ccf::crypto::Pem ccf::NodeInfo::encryption_pub_key

Node encryption public key, used to distribute ledger re-keys.

◆ ledger_secret_seqno

std::optional<ccf::kv::Version> ccf::NodeInfo::ledger_secret_seqno = std::nullopt

Set to the seqno of the latest ledger secret at the time the node is trusted

◆ node_data

nlohmann::json ccf::NodeInfo::node_data = nullptr

Free-form user data, can be used to store operator correlation IDs/labels for the node for example

◆ public_key

std::optional<ccf::crypto::Pem> ccf::NodeInfo::public_key = std::nullopt

Public key.

◆ quote_info

QuoteInfo ccf::NodeInfo::quote_info

Node enclave quote.

◆ retired_committed

bool ccf::NodeInfo::retired_committed = false

Commit state for Retired state

Introduced during 2.x (2.0.5), and so optional for backward compatibility.

◆ status

NodeStatus ccf::NodeInfo::status = NodeStatus::PENDING

Node status.


The documentation for this struct was generated from the following file: