|
CCF
|
#include "ccf/ds/ccf_exception.h"#include "ccf/ds/json.h"#include "ccf/pal/locking.h"#include "ccf/version.h"#include "common/enclave_interface_types.h"#include "ds/internal_logger.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 |
| 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 | ( | ) |
| std::atomic<uint16_t> num_complete_threads = 0 |
| std::atomic<uint16_t> num_pending_threads = 0 |