CCF
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions
configuration.h File Reference
#include "ccf/ds/unit_strings.h"
#include "common/configuration.h"
#include <optional>
#include <string>

Go to the source code of this file.

Classes

struct  host::ParsedMemberInfo
 
struct  host::CCHostConfig
 
struct  host::CCHostConfig::Enclave
 
struct  host::CCHostConfig::OutputFiles
 
struct  host::CCHostConfig::Ledger
 
struct  host::CCHostConfig::Snapshots
 
struct  host::CCHostConfig::Logging
 
struct  host::CCHostConfig::Memory
 
struct  host::CCHostConfig::Command
 
struct  host::CCHostConfig::Command::Start
 
struct  host::CCHostConfig::Command::Join
 
struct  host::CCHostConfig::Command::Recover
 

Namespaces

namespace  host
 

Enumerations

enum class  host::EnclaveType { host::RELEASE , host::DEBUG , host::VIRTUAL }
 
enum class  host::EnclavePlatform { host::SGX , host::SNP , host::VIRTUAL }
 
enum class  host::LogFormat { host::TEXT , host::JSON }
 

Functions

 host::DECLARE_JSON_ENUM (EnclaveType, {{EnclaveType::RELEASE, "Release"}, {EnclaveType::DEBUG, "Debug"}, {EnclaveType::VIRTUAL, "Virtual"}})
 
 host::DECLARE_JSON_ENUM (EnclavePlatform, {{EnclavePlatform::SGX, "SGX"}, {EnclavePlatform::SNP, "SNP"}, {EnclavePlatform::VIRTUAL, "Virtual"}})
 
 host::DECLARE_JSON_ENUM (LogFormat, {{LogFormat::TEXT, "Text"}, {LogFormat::JSON, "Json"}})
 
 host::DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (ParsedMemberInfo)
 
 host::DECLARE_JSON_REQUIRED_FIELDS (ParsedMemberInfo, certificate_file)
 
 host::DECLARE_JSON_OPTIONAL_FIELDS (ParsedMemberInfo, encryption_public_key_file, data_json_file)
 
 host::DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (CCHostConfig::Enclave)
 
 host::DECLARE_JSON_REQUIRED_FIELDS (CCHostConfig::Enclave, type, platform)
 
 host::DECLARE_JSON_OPTIONAL_FIELDS (CCHostConfig::Enclave, file)
 
 host::DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (CCHostConfig::OutputFiles)
 
 host::DECLARE_JSON_REQUIRED_FIELDS (CCHostConfig::OutputFiles)
 
 host::DECLARE_JSON_OPTIONAL_FIELDS (CCHostConfig::OutputFiles, node_certificate_file, pid_file, node_to_node_address_file, rpc_addresses_file)
 
 host::DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (CCHostConfig::Ledger)
 
 host::DECLARE_JSON_REQUIRED_FIELDS (CCHostConfig::Ledger)
 
 host::DECLARE_JSON_OPTIONAL_FIELDS (CCHostConfig::Ledger, directory, read_only_directories, chunk_size)
 
 host::DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (CCHostConfig::Snapshots)
 
 host::DECLARE_JSON_REQUIRED_FIELDS (CCHostConfig::Snapshots)
 
 host::DECLARE_JSON_OPTIONAL_FIELDS (CCHostConfig::Snapshots, directory, tx_count, read_only_directory)
 
 host::DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (CCHostConfig::Logging)
 
 host::DECLARE_JSON_REQUIRED_FIELDS (CCHostConfig::Logging)
 
 host::DECLARE_JSON_OPTIONAL_FIELDS (CCHostConfig::Logging, host_level, format)
 
 host::DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (CCHostConfig::Memory)
 
 host::DECLARE_JSON_REQUIRED_FIELDS (CCHostConfig::Memory)
 
 host::DECLARE_JSON_OPTIONAL_FIELDS (CCHostConfig::Memory, circuit_size, max_msg_size, max_fragment_size)
 
 host::DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (CCHostConfig::Command::Start)
 
 host::DECLARE_JSON_REQUIRED_FIELDS (CCHostConfig::Command::Start, members, constitution_files)
 
 host::DECLARE_JSON_OPTIONAL_FIELDS (CCHostConfig::Command::Start, service_configuration, initial_service_certificate_validity_days, service_subject_name)
 
 host::DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (CCHostConfig::Command::Join)
 
 host::DECLARE_JSON_REQUIRED_FIELDS (CCHostConfig::Command::Join, target_rpc_address)
 
 host::DECLARE_JSON_OPTIONAL_FIELDS (CCHostConfig::Command::Join, retry_timeout, follow_redirect)
 
 host::DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (CCHostConfig::Command::Recover)
 
 host::DECLARE_JSON_REQUIRED_FIELDS (CCHostConfig::Command::Recover)
 
 host::DECLARE_JSON_OPTIONAL_FIELDS (CCHostConfig::Command::Recover, initial_service_certificate_validity_days, previous_service_identity_file, constitution_files)
 
 host::DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (CCHostConfig::Command)
 
 host::DECLARE_JSON_REQUIRED_FIELDS (CCHostConfig::Command, type)
 
 host::DECLARE_JSON_OPTIONAL_FIELDS (CCHostConfig::Command, service_certificate_file, start, join, recover)
 
 host::DECLARE_JSON_TYPE_WITH_BASE_AND_OPTIONAL_FIELDS (CCHostConfig, CCFConfig)
 
 host::DECLARE_JSON_REQUIRED_FIELDS (CCHostConfig, enclave, command)
 
 host::DECLARE_JSON_OPTIONAL_FIELDS (CCHostConfig, tick_interval, slow_io_logging_threshold, node_client_interface, client_connection_timeout, idle_connection_timeout, node_data_json_file, service_data_json_file, ignore_first_sigterm, output_files, ledger, snapshots, logging, memory)