|
MCEL: Merkle-Chaining Event Ledger 1.0.0.0a (A1)
A post-quantum secure block-chain ledger system
|
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 |
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.
| uint8_t flags |
Record flags (encryption, reserved bits, etc.)
| uint8_t keyid[MCEL_RECORD_KEYID_SIZE] |
The key or policy identifier
| uint32_t payload_len |
The payload length in bytes
| uint64_t sequence |
The record sequence number within the ledger
| uint64_t timestamp |
Advisory UTC timestamp or monotonic time value
| uint32_t type |
A mcel_record_type value or application-defined type
| uint8_t version |
The record format version (MCEL_RECORD_VERSION)