CCF
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions
configuration.h File Reference
#include "ccf/ds/unit_strings.h"
#include "ccf/pal/platform.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::OutputFiles
 
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::LogFormat { host::TEXT , host::JSON }
 

Functions

 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, recovery_role)
 
 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, sealed_ledger_secret_location)
 
 host::DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (CCHostConfig::Logging)
 
 host::DECLARE_JSON_REQUIRED_FIELDS (CCHostConfig::Logging)
 
 host::DECLARE_JSON_OPTIONAL_FIELDS (CCHostConfig::Logging, 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, cose_signatures)
 
 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, fetch_recent_snapshot)
 
 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, previous_sealed_ledger_secret_location)
 
 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, ccf::CCFConfig)
 
 host::DECLARE_JSON_REQUIRED_FIELDS (CCHostConfig, 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, snapshots, logging, memory)