OpenCBDC Transaction Processor
|
Transaction notification message. More...
#include <messages.hpp>
Public Member Functions | |
auto | operator== (const tx_notify_request &rhs) const -> bool |
Data Fields | |
transaction::compact_tx | m_tx |
Compact transaction associated with the notification. | |
std::unordered_set< uint64_t > | m_attestations |
Set of input indexes the shard is attesting are unspent at the given block height. | |
uint64_t | m_block_height {} |
Block height at which the given input attestations are valid. | |
Transaction notification message.
Sent from shards to the atomizer. Notifies the atomizer that a shard has received a transaction from a sentinel. The shard attaches an attestation for each transaction input that is covered by the shard's UHS subset, and currently unspent in the UHS. The shard also attaches the block height at which the attestations are valid.
Definition at line 21 of file uhs/atomizer/atomizer/messages.hpp.
auto cbdc::atomizer::tx_notify_request::operator== | ( | const tx_notify_request & | rhs | ) | const -> bool |
Definition at line 9 of file uhs/atomizer/atomizer/messages.cpp.
std::unordered_set<uint64_t> cbdc::atomizer::tx_notify_request::m_attestations |
Set of input indexes the shard is attesting are unspent at the given block height.
Definition at line 28 of file uhs/atomizer/atomizer/messages.hpp.
Referenced by cbdc::shard::shard::digest_transaction().
uint64_t cbdc::atomizer::tx_notify_request::m_block_height {} |
Block height at which the given input attestations are valid.
Definition at line 30 of file uhs/atomizer/atomizer/messages.hpp.
Referenced by cbdc::shard::shard::digest_transaction(), and cbdc::atomizer_client::send_mint_tx().
transaction::compact_tx cbdc::atomizer::tx_notify_request::m_tx |
Compact transaction associated with the notification.
Definition at line 25 of file uhs/atomizer/atomizer/messages.hpp.
Referenced by cbdc::shard::shard::digest_transaction(), and cbdc::atomizer_client::send_mint_tx().