MCEL: Merkle-Chaining Event Ledger 1.0.0.0a (A1)
A post-quantum secure block-chain ledger system
mcel_ledger_state Struct Reference

The MCEL ledger instance state. More...

#include <mcel.h>

Data Fields

mcel_store_callbacks store
uint8_t nsid [MCEL_LEDGER_NAMESPACE_ID_MAX]
size_t nsidlen
const uint8_t * publickey
uint8_t head_commit [MCEL_BLOCK_HASH_SIZE]
mcel_checkpoint_header head_header
uint8_t have_head

Detailed Description

The MCEL ledger instance state.

Field Documentation

◆ have_head

uint8_t have_head

Non-zero if a head checkpoint is loaded

◆ head_commit

uint8_t head_commit[MCEL_BLOCK_HASH_SIZE]

The current head checkpoint commitment

◆ head_header

The current head checkpoint header

◆ nsid

The namespace identifier

◆ nsidlen

size_t nsidlen

The namespace identifier length

◆ publickey

const uint8_t* publickey

The Dilithium public key used for checkpoint verification

◆ store

The host storage callbacks


The documentation for this struct was generated from the following file:
  • C:/Users/stepp/Documents/Visual Studio 2022/Projects/C/MCEL/MCEL/mcel.h