CCF
|
#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::Version > | ledger_secret_seqno = std::nullopt |
std::optional< std::string > | code_digest = std::nullopt |
Code identity for the node. | |
std::optional< ccf::crypto::Pem > | certificate_signing_request = std::nullopt |
Node certificate signing request. | |
std::optional< ccf::crypto::Pem > | public_key = std::nullopt |
Public key. | |
nlohmann::json | node_data = nullptr |
std::optional< ccf::crypto::Pem > | cert = std::nullopt |
bool | retired_committed = false |
![]() | |
NetInterface | node_to_node_interface |
Node-to-node network interface. | |
RpcInterfaces | rpc_interfaces |
RPC interfaces. | |
std::optional< ACME > | acme = std::nullopt |
ACME configuration. | |
bool | will_locally_seal_ledger_secrets = false |
Additional Inherited Members | |
![]() | |
using | NetAddress = std::string |
using | RpcInterfaceID = std::string |
using | NetProtocol = std::string |
using | RpcInterfaces = std::map< RpcInterfaceID, NetInterface > |
RPC interface mapping. | |
![]() | |
NodeInfoNetwork ()=default | |
NodeInfoNetwork (const NodeInfoNetwork_v2 &other) | |
bool | operator== (const NodeInfoNetwork &other) const |
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
std::optional<ccf::crypto::Pem> ccf::NodeInfo::certificate_signing_request = std::nullopt |
Node certificate signing request.
Fields below are added in 2.x
std::optional<std::string> ccf::NodeInfo::code_digest = std::nullopt |
Code identity for the node.
ccf::crypto::Pem ccf::NodeInfo::encryption_pub_key |
Node encryption public key, used to distribute ledger re-keys.
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
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
std::optional<ccf::crypto::Pem> ccf::NodeInfo::public_key = std::nullopt |
Public key.
QuoteInfo ccf::NodeInfo::quote_info |
Node enclave quote.
bool ccf::NodeInfo::retired_committed = false |
Commit state for Retired state
Introduced during 2.x (2.0.5), and so optional for backward compatibility.
NodeStatus ccf::NodeInfo::status = NodeStatus::PENDING |
Node status.