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

The MCEL block header structure. More...

#include <mcel.h>

Data Fields

uint8_t keyid [MCEL_BLOCK_KEYID_SIZE]
uint64_t block_sequence
uint64_t first_record_seq
uint64_t timestamp
uint32_t record_count
uint8_t flags
uint8_t version

Detailed Description

The MCEL block header structure.

This structure is canonically encoded using mcel_encode_block_header. The block commitment binds this header to the Merkle root of record commitments.

Field Documentation

◆ block_sequence

uint64_t block_sequence

The block 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

Block flags (reserved for future use)

◆ keyid

uint8_t keyid[MCEL_BLOCK_KEYID_SIZE]

The signer or policy identifier

◆ record_count

uint32_t record_count

The number of records committed by the Merkle root

◆ timestamp

uint64_t timestamp

Advisory UTC timestamp or monotonic time value

◆ version

uint8_t version

The block format version (MCEL_BLOCK_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