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

#include <service_config.h>

Public Member Functions

bool operator== (const ServiceConfiguration &other) const
 

Public Attributes

size_t recovery_threshold = 0
 
ConsensusType consensus = ConsensusType::CFT
 
std::optional< size_t > maximum_node_certificate_validity_days = std::nullopt
 
std::optional< size_t > maximum_service_certificate_validity_days
 
std::optional< ReconfigurationTypereconfiguration_type = std::nullopt
 
std::optional< size_t > recent_cose_proposals_window_size = std::nullopt
 Size of recent_cose_proposals window.
 

Member Function Documentation

◆ operator==()

bool ccf::ServiceConfiguration::operator== ( const ServiceConfiguration other) const
inline

Member Data Documentation

◆ consensus

ConsensusType ccf::ServiceConfiguration::consensus = ConsensusType::CFT

◆ maximum_node_certificate_validity_days

std::optional<size_t> ccf::ServiceConfiguration::maximum_node_certificate_validity_days = std::nullopt

Fields below are added in 2.x

◆ maximum_service_certificate_validity_days

std::optional<size_t> ccf::ServiceConfiguration::maximum_service_certificate_validity_days
Initial value:
=
std::nullopt

◆ recent_cose_proposals_window_size

std::optional<size_t> ccf::ServiceConfiguration::recent_cose_proposals_window_size = std::nullopt

Size of recent_cose_proposals window.

Fields below are added in 3.x

◆ reconfiguration_type

std::optional<ReconfigurationType> ccf::ServiceConfiguration::reconfiguration_type = std::nullopt

◆ recovery_threshold

size_t ccf::ServiceConfiguration::recovery_threshold = 0

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