CCF
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
configuration.h File Reference
#include "ccf/crypto/curve.h"
#include "ccf/crypto/pem.h"
#include "ccf/ds/logger.h"
#include "ccf/ds/unit_strings.h"
#include "ccf/node/startup_config.h"
#include "ccf/pal/attestation_sev_snp_endorsements.h"
#include "ccf/service/consensus_type.h"
#include "ccf/service/node_info_network.h"
#include "ccf/service/reconfiguration_type.h"
#include "ccf/service/tables/members.h"
#include "common/enclave_interface_types.h"
#include "consensus/consensus_types.h"
#include "ds/oversized.h"
#include "service/tables/config.h"
#include <optional>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  EnclaveConfig
 

Namespaces

namespace  ccf
 

Functions

 DECLARE_JSON_ENUM (StartType, {{StartType::Start, "Start"}, {StartType::Join, "Join"}, {StartType::Recover, "Recover"}})
 
 ccf::DECLARE_JSON_ENUM (LoggerLevel, {{LoggerLevel::TRACE, "Trace"}, {LoggerLevel::DEBUG, "Debug"}, {LoggerLevel::INFO, "Info"}, {LoggerLevel::FAIL, "Fail"}, {LoggerLevel::FATAL, "Fatal"}})
 
 ccf::DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (CCFConfig::NodeCertificateInfo)
 
 ccf::DECLARE_JSON_OPTIONAL_FIELDS (CCFConfig::NodeCertificateInfo, subject_name, subject_alt_names, curve_id, initial_validity_days)
 
 ccf::DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (CCFConfig::Ledger)
 
 ccf::DECLARE_JSON_REQUIRED_FIELDS (CCFConfig::Ledger)
 
 ccf::DECLARE_JSON_OPTIONAL_FIELDS (CCFConfig::Ledger, directory, read_only_directories, chunk_size)
 
 ccf::DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (CCFConfig::LedgerSignatures)
 
 ccf::DECLARE_JSON_REQUIRED_FIELDS (CCFConfig::LedgerSignatures)
 
 ccf::DECLARE_JSON_OPTIONAL_FIELDS (CCFConfig::LedgerSignatures, tx_count, delay)
 
 ccf::DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (CCFConfig::JWT)
 
 ccf::DECLARE_JSON_REQUIRED_FIELDS (CCFConfig::JWT)
 
 ccf::DECLARE_JSON_OPTIONAL_FIELDS (CCFConfig::JWT, key_refresh_interval)
 
 ccf::DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (CCFConfig::Attestation::Environment)
 
 ccf::DECLARE_JSON_REQUIRED_FIELDS (CCFConfig::Attestation::Environment)
 
 ccf::DECLARE_JSON_OPTIONAL_FIELDS (CCFConfig::Attestation::Environment, security_policy, uvm_endorsements, snp_endorsements)
 
 ccf::DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (CCFConfig::Attestation)
 
 ccf::DECLARE_JSON_REQUIRED_FIELDS (CCFConfig::Attestation)
 
 ccf::DECLARE_JSON_OPTIONAL_FIELDS (CCFConfig::Attestation, snp_endorsements_servers, environment, snp_security_policy_file, snp_uvm_endorsements_file, snp_endorsements_file)
 
 ccf::DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (CCFConfig::Snapshots)
 
 ccf::DECLARE_JSON_REQUIRED_FIELDS (CCFConfig::Snapshots)
 
 ccf::DECLARE_JSON_OPTIONAL_FIELDS (CCFConfig::Snapshots, directory, tx_count, read_only_directory)
 
 ccf::DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (CCFConfig)
 
 ccf::DECLARE_JSON_REQUIRED_FIELDS (CCFConfig, network)
 
 ccf::DECLARE_JSON_OPTIONAL_FIELDS (CCFConfig, worker_threads, node_certificate, consensus, ledger, ledger_signatures, jwt, attestation, snapshots, node_to_node_message_limit, historical_cache_soft_limit)
 
 ccf::DECLARE_JSON_TYPE (StartupConfig::Start)
 
 ccf::DECLARE_JSON_REQUIRED_FIELDS (StartupConfig::Start, members, constitution, service_configuration)
 
 ccf::DECLARE_JSON_TYPE (StartupConfig::Join)
 
 ccf::DECLARE_JSON_REQUIRED_FIELDS (StartupConfig::Join, target_rpc_address, retry_timeout, service_cert, follow_redirect)
 
 ccf::DECLARE_JSON_TYPE (StartupConfig::Recover)
 
 ccf::DECLARE_JSON_REQUIRED_FIELDS (StartupConfig::Recover, previous_service_identity, previous_sealed_ledger_secret_location)
 
 ccf::DECLARE_JSON_TYPE_WITH_BASE (StartupConfig, CCFConfig)
 
 ccf::DECLARE_JSON_REQUIRED_FIELDS (StartupConfig, startup_host_time, snapshot_tx_interval, initial_service_certificate_validity_days, service_subject_name, cose_signatures, service_data, node_data, start, join, recover, sealed_ledger_secret_location)
 

Function Documentation

◆ DECLARE_JSON_ENUM()

DECLARE_JSON_ENUM ( StartType  ,
{{StartType::Start, "Start"}, {StartType::Join, "Join"}, {StartType::Recover, "Recover"}}   
)