CCF
Loading...
Searching...
No Matches
Enumerations | Functions
enclave_interface_types.h File Reference
#include "ccf/ds/logger_level.h"

Go to the source code of this file.

Enumerations

enum  CreateNodeStatus {
  OK = 0 , InternalError = 1 , NodeAlreadyCreated = 2 , ConsensusNotAllowed = 3 ,
  TooManyThreads = 4 , MemoryNotOutsideEnclave = 5 , EnclaveInitFailed = 6 , OpenSSLRDRANDInitFailed = 7 ,
  ReconfigurationMethodNotSupported = 8 , UnalignedArguments = 10
}
 
enum  StartType { Start = 1 , Join = 2 , Recover = 3 }
 

Functions

constexpr char const * create_node_result_to_str (CreateNodeStatus result)
 
constexpr char const * start_type_to_str (StartType type)
 

Enumeration Type Documentation

◆ CreateNodeStatus

Enumerator
OK 

Call was successful and the node was successfully created

InternalError 

The node could not be created because of an internal error

NodeAlreadyCreated 

The node has already been created

ConsensusNotAllowed 

The selected consensus is not valid

TooManyThreads 

The number of worker threads created is too high

MemoryNotOutsideEnclave 

One of the input buffers is not located outside of the enclave memory

EnclaveInitFailed 

Enclave initialisation failed

OpenSSLRDRANDInitFailed 

OpenSSL RDRAND Init Failed

ReconfigurationMethodNotSupported 

The reconfiguration method is not supported

UnalignedArguments 

When reading from host memory, the source must be 8-byte aligned

◆ StartType

enum StartType
Enumerator
Start 
Join 
Recover 

Function Documentation

◆ create_node_result_to_str()

constexpr char const * create_node_result_to_str ( CreateNodeStatus  result)
constexpr

◆ start_type_to_str()

constexpr char const * start_type_to_str ( StartType  type)
constexpr