CCF
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Typedefs | Functions
run.cpp File Reference
#include "ccf/run.h"
#include "ccf/crypto/pem.h"
#include "ccf/crypto/symmetric_key.h"
#include "ccf/ds/logger_level.h"
#include "ccf/ds/nonstd.h"
#include "ccf/ds/unit_strings.h"
#include "ccf/ds/x509_time_fmt.h"
#include "ccf/node/startup_config.h"
#include "ccf/pal/attestation.h"
#include "ccf/pal/attestation_sev_snp.h"
#include "ccf/pal/platform.h"
#include "ccf/pal/snp_ioctl.h"
#include "ccf/service/node_info_network.h"
#include "ccf/version.h"
#include "common/configuration.h"
#include "common/enclave_interface_types.h"
#include "config_schema.h"
#include "configuration.h"
#include "crypto/openssl/hash.h"
#include "ds/cli_helper.h"
#include "ds/files.h"
#include "ds/internal_logger.h"
#include "ds/non_blocking.h"
#include "ds/notifying.h"
#include "ds/oversized.h"
#include "enclave/entry_points.h"
#include "handle_ring_buffer.h"
#include "host/env.h"
#include "http/curl.h"
#include "json_schema.h"
#include "lfs_file_handler.h"
#include "load_monitor.h"
#include "node_connections.h"
#include "pal/quote_generation.h"
#include "rpc_connections.h"
#include "sig_term.h"
#include "snapshots/fetch.h"
#include "snapshots/filenames.h"
#include "snapshots/snapshot_manager.h"
#include "tcp.h"
#include "ticker.h"
#include "time_bound_logger.h"
#include "udp.h"
#include <CLI11/CLI11.hpp>
#include <atomic>
#include <chrono>
#include <csignal>
#include <cstdint>
#include <cstdlib>
#include <exception>
#include <filesystem>
#include <iostream>
#include <map>
#include <optional>
#include <stdexcept>
#include <string>
#include <thread>
#include <unistd.h>
#include <utility>
#include <uv.h>
#include <fmt/format.h>

Classes

struct  ccf::WriterFactories
 

Namespaces

namespace  ccf
 

Macros

#define FMT_HEADER_ONLY
 

Typedefs

using ResolvedAddresses = std::map< ccf::NodeInfoNetwork::RpcInterfaceID, ccf::NodeInfoNetwork::NetAddress >
 

Functions

void print_version (int64_t ignored)
 
void ccf::validate_and_adjust_recovery_threshold (host::CCHostConfig &config)
 
void ccf::setup_rpc_interfaces (host::CCHostConfig &config, asynchost::RPCConnections< asynchost::TCP > &rpc, asynchost::RPCConnections< asynchost::UDP > &rpc_udp)
 
void ccf::configure_snp_attestation (ccf::StartupConfig &startup_config)
 
void ccf::populate_config_for_start (const host::CCHostConfig &config, ccf::StartupConfig &startup_config)
 
void ccf::populate_config_for_join (const host::CCHostConfig &config, ccf::StartupConfig &startup_config)
 
void ccf::populate_config_for_recover (const host::CCHostConfig &config, ccf::StartupConfig &startup_config)
 
std::vector< uint8_t > ccf::load_startup_snapshot (const host::CCHostConfig &config, snapshots::SnapshotManager &snapshots)
 
std::optional< size_t > ccf::create_enclave_node (const host::CCHostConfig &config, messaging::BufferProcessor &buffer_processor, ringbuffer::Circuit &circuit, EnclaveConfig &enclave_config, ccf::StartupConfig &startup_config, std::vector< uint8_t > startup_snapshot, std::vector< uint8_t > &node_cert, std::vector< uint8_t > &service_cert, ccf::LoggerLevel log_level, ringbuffer::NotifyingWriterFactory &notifying_factory)
 
void ccf::write_certificates_to_disk (const host::CCHostConfig &config, const std::vector< uint8_t > &node_cert, const std::vector< uint8_t > &service_cert)
 
void ccf::run_enclave_threads (const host::CCHostConfig &config)
 
std::optional< size_t > ccf::run_main_loop (host::CCHostConfig &config, messaging::BufferProcessor &buffer_processor, ringbuffer::Circuit &circuit, EnclaveConfig &enclave_config, ccf::LoggerLevel log_level)
 
void ccf::apply_stdlib_workarounds ()
 
int ccf::run (int argc, char **argv)
 

Macro Definition Documentation

◆ FMT_HEADER_ONLY

#define FMT_HEADER_ONLY

Typedef Documentation

◆ ResolvedAddresses

Function Documentation

◆ print_version()

void print_version ( int64_t  ignored)