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

The MCEL namespace policy container. More...

#include <mcel.h>

Data Fields

size_t max_payload_size
uint32_t allowed_record_mask
uint8_t require_encryption
uint8_t enforce_monotonic_time
uint8_t enforce_monotonic_seq
uint8_t enforce_keyid_link

Detailed Description

The MCEL namespace policy container.

Field Documentation

◆ allowed_record_mask

uint32_t allowed_record_mask

Bitmask of allowed record types (bit[type] == 1 allows)

◆ enforce_keyid_link

uint8_t enforce_keyid_link

Non-zero if checkpoint keyid must match the previous checkpoint keyid

◆ enforce_monotonic_seq

uint8_t enforce_monotonic_seq

Non-zero if sequences must be strictly increasing

◆ enforce_monotonic_time

uint8_t enforce_monotonic_time

Non-zero if timestamps must be non-decreasing

◆ max_payload_size

size_t max_payload_size

Maximum allowed record payload size (0 for unlimited)

◆ require_encryption

uint8_t require_encryption

Non-zero if plaintext payloads are disallowed


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