OpenCBDC Transaction Processor
Loading...
Searching...
No Matches
uhs/atomizer/atomizer/messages.cpp
Go to the documentation of this file.
1// Copyright (c) 2021 MIT Digital Currency Initiative,
2// Federal Reserve Bank of Boston
3// Distributed under the MIT software license, see the accompanying
4// file COPYING or http://www.opensource.org/licenses/mit-license.php.
5
6#include "messages.hpp"
7
8namespace cbdc::atomizer {
10 -> bool {
11 return (rhs.m_tx == m_tx) && (rhs.m_attestations == m_attestations)
12 && (rhs.m_block_height == m_block_height);
13 }
14
16 const aggregate_tx_notification& rhs) const -> bool {
17 return (rhs.m_oldest_attestation == m_oldest_attestation)
18 && (rhs.m_tx == m_tx);
19 }
20
22 const aggregate_tx_notify_request& rhs) const -> bool {
23 return rhs.m_agg_txs == m_agg_txs;
24 }
25}
Transaction notification message with a full set of input attestations.
auto operator==(const aggregate_tx_notification &rhs) const -> bool
Batch of aggregate transaction notifications.
auto operator==(const aggregate_tx_notify_request &rhs) const -> bool
auto operator==(const tx_notify_request &rhs) const -> bool