UDIF: Universal Digital Identification Framework 1.0.0.0a (A1)
A quantum-secure cryptographic identification
udif_mcel_ledger Struct Reference

Per-ledger state tracking. More...

#include <mcelmanager.h>

Data Fields

mcel_ledger_state mcelstate
udif_ledger_type type
uint8_t lastblockroot [MCEL_BLOCK_HASH_SIZE]
uint8_t lastblockcommit [MCEL_BLOCK_HASH_SIZE]
char namespaceid [64U]
uint64_t nextblockseq
uint64_t nextcheckpointseq
uint64_t firstrecordinblock
uint64_t firstrecordincheckpoint
uint64_t nextrecordseq
uint8_t * reccommits
uint64_t totalblocks
uint64_t totalcheckpoints
uint64_t totalrecords
size_t commitscap
size_t commitscount
bool haveblockroot

Detailed Description

Per-ledger state tracking.

Field Documentation

◆ commitscap

size_t commitscap

Capacity in number of commits

◆ commitscount

size_t commitscount

Current number of commits

◆ firstrecordinblock

uint64_t firstrecordinblock

First record seq in current block

◆ firstrecordincheckpoint

uint64_t firstrecordincheckpoint

First record seq in last checkpoint

◆ haveblockroot

bool haveblockroot

Ledger has a block root

◆ lastblockcommit

uint8_t lastblockcommit[MCEL_BLOCK_HASH_SIZE]

Block tracking

◆ lastblockroot

uint8_t lastblockroot[MCEL_BLOCK_HASH_SIZE]

Block tracking

◆ mcelstate

mcel_ledger_state mcelstate

CEL ledger state

◆ namespaceid

char namespaceid[64U]

Ledger namespace

◆ nextblockseq

uint64_t nextblockseq

Next block sequence number

◆ nextcheckpointseq

uint64_t nextcheckpointseq

Next checkpoint sequence number

◆ nextrecordseq

uint64_t nextrecordseq

Next record sequence number

◆ reccommits

uint8_t* reccommits

Array of 32-byte commitments

◆ totalblocks

uint64_t totalblocks

Total blocks

◆ totalcheckpoints

uint64_t totalcheckpoints

Total checkpoints

◆ totalrecords

uint64_t totalrecords

Total records

◆ type

Ledger type


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