CCF
Loading...
Searching...
No Matches
Classes | Typedefs | Enumerations | Functions
consensus Namespace Reference

Classes

struct  AppendEntriesIndex
 
struct  ConsensusHeader
 
class  LedgerEnclave
 

Typedefs

using Index = uint64_t
 

Enumerations

enum  LedgerRequestPurpose : uint8_t { Recovery , HistoricalQuery }
 
enum  : ringbuffer::Message {
  DEFINE_RINGBUFFER_MSG_TYPE =(ledger_get_range) , DEFINE_RINGBUFFER_MSG_TYPE =(ledger_get_range) , DEFINE_RINGBUFFER_MSG_TYPE =(ledger_get_range) , DEFINE_RINGBUFFER_MSG_TYPE =(ledger_get_range) ,
  DEFINE_RINGBUFFER_MSG_TYPE =(ledger_get_range) , DEFINE_RINGBUFFER_MSG_TYPE =(ledger_get_range) , DEFINE_RINGBUFFER_MSG_TYPE =(ledger_get_range) , DEFINE_RINGBUFFER_MSG_TYPE =(ledger_get_range) ,
  DEFINE_RINGBUFFER_MSG_TYPE =(ledger_get_range) , DEFINE_RINGBUFFER_MSG_TYPE =(ledger_get_range) , DEFINE_RINGBUFFER_MSG_TYPE =(ledger_get_range)
}
 Consensus-related ringbuffer messages. More...
 

Functions

 DECLARE_JSON_TYPE (AppendEntriesIndex)
 
 DECLARE_JSON_REQUIRED_FIELDS (AppendEntriesIndex, idx, prev_idx)
 

Typedef Documentation

◆ Index

using consensus::Index = typedef uint64_t

Enumeration Type Documentation

◆ anonymous enum

anonymous enum : ringbuffer::Message

Consensus-related ringbuffer messages.

Enumerator
DEFINE_RINGBUFFER_MSG_TYPE 

Request range of ledger entries. Enclave -> Host.

Host -> Enclave.

Ask for host memory allocation and commit a snapshot. Enclave -> Host.

Modify the local ledger. Enclave -> Host.

Respond to ledger_get_range. Host -> Enclave.

DEFINE_RINGBUFFER_MSG_TYPE 

Request range of ledger entries. Enclave -> Host.

Host -> Enclave.

Ask for host memory allocation and commit a snapshot. Enclave -> Host.

Modify the local ledger. Enclave -> Host.

Respond to ledger_get_range. Host -> Enclave.

DEFINE_RINGBUFFER_MSG_TYPE 

Request range of ledger entries. Enclave -> Host.

Host -> Enclave.

Ask for host memory allocation and commit a snapshot. Enclave -> Host.

Modify the local ledger. Enclave -> Host.

Respond to ledger_get_range. Host -> Enclave.

DEFINE_RINGBUFFER_MSG_TYPE 

Request range of ledger entries. Enclave -> Host.

Host -> Enclave.

Ask for host memory allocation and commit a snapshot. Enclave -> Host.

Modify the local ledger. Enclave -> Host.

Respond to ledger_get_range. Host -> Enclave.

DEFINE_RINGBUFFER_MSG_TYPE 

Request range of ledger entries. Enclave -> Host.

Host -> Enclave.

Ask for host memory allocation and commit a snapshot. Enclave -> Host.

Modify the local ledger. Enclave -> Host.

Respond to ledger_get_range. Host -> Enclave.

DEFINE_RINGBUFFER_MSG_TYPE 

Request range of ledger entries. Enclave -> Host.

Host -> Enclave.

Ask for host memory allocation and commit a snapshot. Enclave -> Host.

Modify the local ledger. Enclave -> Host.

Respond to ledger_get_range. Host -> Enclave.

DEFINE_RINGBUFFER_MSG_TYPE 

Request range of ledger entries. Enclave -> Host.

Host -> Enclave.

Ask for host memory allocation and commit a snapshot. Enclave -> Host.

Modify the local ledger. Enclave -> Host.

Respond to ledger_get_range. Host -> Enclave.

DEFINE_RINGBUFFER_MSG_TYPE 

Request range of ledger entries. Enclave -> Host.

Host -> Enclave.

Ask for host memory allocation and commit a snapshot. Enclave -> Host.

Modify the local ledger. Enclave -> Host.

Respond to ledger_get_range. Host -> Enclave.

DEFINE_RINGBUFFER_MSG_TYPE 

Request range of ledger entries. Enclave -> Host.

Host -> Enclave.

Ask for host memory allocation and commit a snapshot. Enclave -> Host.

Modify the local ledger. Enclave -> Host.

Respond to ledger_get_range. Host -> Enclave.

DEFINE_RINGBUFFER_MSG_TYPE 

Request range of ledger entries. Enclave -> Host.

Host -> Enclave.

Ask for host memory allocation and commit a snapshot. Enclave -> Host.

Modify the local ledger. Enclave -> Host.

Respond to ledger_get_range. Host -> Enclave.

DEFINE_RINGBUFFER_MSG_TYPE 

Request range of ledger entries. Enclave -> Host.

Host -> Enclave.

Ask for host memory allocation and commit a snapshot. Enclave -> Host.

Modify the local ledger. Enclave -> Host.

Respond to ledger_get_range. Host -> Enclave.

◆ LedgerRequestPurpose

Enumerator
Recovery 
HistoricalQuery 

Function Documentation

◆ DECLARE_JSON_REQUIRED_FIELDS()

consensus::DECLARE_JSON_REQUIRED_FIELDS ( AppendEntriesIndex  ,
idx  ,
prev_idx   
)

◆ DECLARE_JSON_TYPE()

consensus::DECLARE_JSON_TYPE ( AppendEntriesIndex  )