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

Transaction notification message with a full set of input attestations. More...

#include <messages.hpp>

Collaboration diagram for cbdc::atomizer::aggregate_tx_notification:

Public Member Functions

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

Data Fields

transaction::compact_tx m_tx
 Compact transaction associated with the notification.
 
uint64_t m_oldest_attestation {}
 Block height of the oldest input attestation used to build this aggregate notification.
 

Detailed Description

Transaction notification message with a full set of input attestations.

The atomizer manager ( atomizer_raft ) sends this message to the atomizer state machine ( state_machine ) once it has received a full set of input attestations for a given compact transaction. The atomizer manager attaches the block height of the oldest attestation used to build the full set. The structure is used as an optimization to remove the need to replicate individual transaction notifications in the atomizer cluster.

Definition at line 43 of file uhs/atomizer/atomizer/messages.hpp.

Member Function Documentation

◆ operator==()

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

Definition at line 15 of file uhs/atomizer/atomizer/messages.cpp.

Field Documentation

◆ m_oldest_attestation

uint64_t cbdc::atomizer::aggregate_tx_notification::m_oldest_attestation {}

Block height of the oldest input attestation used to build this aggregate notification.

Definition at line 50 of file uhs/atomizer/atomizer/messages.hpp.

◆ m_tx

transaction::compact_tx cbdc::atomizer::aggregate_tx_notification::m_tx

Compact transaction associated with the notification.

Definition at line 47 of file uhs/atomizer/atomizer/messages.hpp.


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