CCF
Loading...
Searching...
No Matches
Functions | Variables
main.cpp File Reference
#include "ccf/ds/ccf_exception.h"
#include "ccf/ds/json.h"
#include "ccf/ds/logger.h"
#include "ccf/pal/locking.h"
#include "ccf/version.h"
#include "common/enclave_interface_types.h"
#include "enclave.h"
#include <chrono>
#include <cstdint>
#include <thread>

Functions

CreateNodeStatus enclave_create_node (const EnclaveConfig &enclave_config, const ccf::StartupConfig &ccf_config, std::vector< uint8_t > &&startup_snapshot, std::vector< uint8_t > &node_cert, std::vector< uint8_t > &service_cert, StartType start_type, ccf::LoggerLevel log_level, size_t num_worker_threads, const ccf::ds::WorkBeaconPtr &work_beacon)
 
bool enclave_run ()
 

Variables

std::atomic< uint16_t > num_pending_threads = 0
 
std::atomic< uint16_t > num_complete_threads = 0
 

Function Documentation

◆ enclave_create_node()

CreateNodeStatus enclave_create_node ( const EnclaveConfig enclave_config,
const ccf::StartupConfig ccf_config,
std::vector< uint8_t > &&  startup_snapshot,
std::vector< uint8_t > &  node_cert,
std::vector< uint8_t > &  service_cert,
StartType  start_type,
ccf::LoggerLevel  log_level,
size_t  num_worker_threads,
const ccf::ds::WorkBeaconPtr work_beacon 
)

◆ enclave_run()

bool enclave_run ( )

Variable Documentation

◆ num_complete_threads

std::atomic<uint16_t> num_complete_threads = 0

◆ num_pending_threads

std::atomic<uint16_t> num_pending_threads = 0