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

The MCEL policy context (caller-maintained). More...

#include <mcel.h>

Data Fields

uint8_t have_checkpoint
mcel_checkpoint_header checkpoint
uint64_t last_record_sequence
uint64_t last_record_timestamp

Detailed Description

The MCEL policy context (caller-maintained).

This structure is updated by the hosting application (or the higher-level ledger API). It provides the minimum state required to apply monotonic and linkage rules.

Field Documentation

◆ checkpoint

The prior (head) checkpoint header

◆ have_checkpoint

uint8_t have_checkpoint

Non-zero if a prior checkpoint header is present

◆ last_record_sequence

uint64_t last_record_sequence

The last accepted record sequence (0 if unknown)

◆ last_record_timestamp

uint64_t last_record_timestamp

The last accepted record timestamp (0 if unknown)


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