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

#include <service.h>

Public Attributes

ccf::crypto::Pem cert
 x.509 Service Certificate, as a PEM string
 
ServiceStatus status = ServiceStatus::OPENING
 Status of the service.
 
std::optional< ccf::kv::Versionprevious_service_identity_version
 Version (seqno) of previous service identity (before the last recovery)
 
std::optional< size_t > recovery_count = std::nullopt
 Number of disaster recoveries performed on this service.
 
nlohmann::json service_data = nullptr
 
std::optional< ccf::TxIDcurrent_service_create_txid = std::nullopt
 TxID at which current service was created.
 

Member Data Documentation

◆ cert

ccf::crypto::Pem ccf::ServiceInfo::cert

x.509 Service Certificate, as a PEM string

◆ current_service_create_txid

std::optional<ccf::TxID> ccf::ServiceInfo::current_service_create_txid = std::nullopt

TxID at which current service was created.

◆ previous_service_identity_version

std::optional<ccf::kv::Version> ccf::ServiceInfo::previous_service_identity_version
Initial value:
=
std::nullopt

Version (seqno) of previous service identity (before the last recovery)

◆ recovery_count

std::optional<size_t> ccf::ServiceInfo::recovery_count = std::nullopt

Number of disaster recoveries performed on this service.

◆ service_data

nlohmann::json ccf::ServiceInfo::service_data = nullptr

Free-form user data, can be used by members to store additional information about service

◆ status

ServiceStatus ccf::ServiceInfo::status = ServiceStatus::OPENING

Status of the service.


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