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

The MCEL record header structure. More...

#include <mcel.h>

Data Fields

uint8_t keyid [MCEL_RECORD_KEYID_SIZE]
uint64_t sequence
uint64_t timestamp
uint32_t payload_len
uint32_t type
uint8_t flags
uint8_t version

Detailed Description

The MCEL record header structure.

This structure is canonically encoded using mcel_encode_record_header. The keyid field identifies the signing authority, policy, or key context.

Field Documentation

◆ flags

uint8_t flags

Record flags (encryption, reserved bits, etc.)

◆ keyid

uint8_t keyid[MCEL_RECORD_KEYID_SIZE]

The key or policy identifier

◆ payload_len

uint32_t payload_len

The payload length in bytes

◆ sequence

uint64_t sequence

The record sequence number within the ledger

◆ timestamp

uint64_t timestamp

Advisory UTC timestamp or monotonic time value

◆ type

uint32_t type

A mcel_record_type value or application-defined type

◆ version

uint8_t version

The record format version (MCEL_RECORD_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