OpenCBDC Transaction Processor
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
block.cpp
Go to the documentation of this file.
1// Copyright (c) 2021 MIT Digital Currency Initiative
2// Distributed under the MIT software license, see the accompanying
3// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5#include "block.hpp"
6
7namespace cbdc {
8 auto cbdc::atomizer::block::operator==(const block& rhs) const -> bool {
9 return (rhs.m_height == m_height)
10 && (rhs.m_transactions == m_transactions);
11 }
12}
Batch of compact transactions settled by the atomizer.
Definition block.hpp:19
auto operator==(const block &rhs) const -> bool
Definition block.cpp:8