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

The MCEL checkpoint header structure. More...

#include <mcel.h>

Data Fields

uint8_t keyid [MCEL_CHECKPOINT_KEYID_SIZE]
uint64_t chk_sequence
uint64_t first_record_seq
uint64_t timestamp
uint32_t record_count
uint8_t flags
uint8_t version

Detailed Description

The MCEL checkpoint header structure.

This structure is canonically encoded using mcel_encode_checkpoint_header. The checkpoint commitment additionally binds the block root and previous checkpoint commitment.

Field Documentation

◆ chk_sequence

uint64_t chk_sequence

The checkpoint sequence number within the ledger

◆ first_record_seq

uint64_t first_record_seq

The sequence number of the first record in this block

◆ flags

uint8_t flags

Checkpoint flags (reserved for future use)

◆ keyid

The signer or policy identifier

◆ record_count

uint32_t record_count

The number of records committed by the block root

◆ timestamp

uint64_t timestamp

Advisory UTC timestamp or monotonic time value

◆ version

uint8_t version

The checkpoint format version (MCEL_CHECKPOINT_VERSION)


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