OpenCBDC Transaction Processor
Loading...
Searching...
No Matches
cbdc::atomizer::block Struct Reference

Batch of compact transactions settled by the atomizer. More...

#include <block.hpp>

Public Member Functions

auto operator== (const block &rhs) const -> bool
 

Data Fields

uint64_t m_height {}
 Index of this block in the overall contiguous sequence of blocks from the first block starting at height zero.
 
std::vector< transaction::compact_txm_transactions
 Compact transactions settled by the atomizer in this block.
 

Detailed Description

Batch of compact transactions settled by the atomizer.

Definition at line 19 of file block.hpp.

Member Function Documentation

◆ operator==()

auto cbdc::atomizer::block::operator== ( const block & rhs) const -> bool

Definition at line 8 of file block.cpp.

Field Documentation

◆ m_height

uint64_t cbdc::atomizer::block::m_height {}

Index of this block in the overall contiguous sequence of blocks from the first block starting at height zero.

Definition at line 24 of file block.hpp.

Referenced by cbdc::archiver::controller::digest_block(), and cbdc::atomizer::atomizer::make_block().

◆ m_transactions

std::vector<transaction::compact_tx> cbdc::atomizer::block::m_transactions

Compact transactions settled by the atomizer in this block.

Definition at line 26 of file block.hpp.

Referenced by cbdc::archiver::controller::digest_block(), and cbdc::atomizer::atomizer::make_block().


The documentation for this struct was generated from the following files: