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

The MCEL anchor reference container. More...

#include <anchor.h>

Data Fields

uint8_t version
uint8_t flags
uint8_t type
uint8_t reserved
uint16_t chain_id_len
uint16_t reference_len
const uint8_t * chain_id
const uint8_t * reference

Detailed Description

The MCEL anchor reference container.

This structure describes an external witness reference (e.g. chain id and transaction id). The chain_id and reference fields point to caller-owned memory.

Field Documentation

◆ chain_id

const uint8_t* chain_id

A pointer to the chain identifier bytes

◆ chain_id_len

uint16_t chain_id_len

The chain identifier length in bytes

◆ flags

uint8_t flags

Anchor reference flags (reserved for future use)

◆ reference

const uint8_t* reference

A pointer to the reference bytes (txid, witness id, etc.)

◆ reference_len

uint16_t reference_len

The reference length in bytes

◆ reserved

uint8_t reserved

Reserved, must be 0

◆ type

uint8_t type

Anchor type identifier (application-defined)

◆ version

uint8_t version

The anchor reference format version


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