OpenCBDC Transaction Processor
|
Transaction notification message with a full set of input attestations. More...
#include <messages.hpp>
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. | |
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.
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.
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.
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.