OpenCBDC Transaction Processor
Loading...
Searching...
No Matches
uhs/twophase/locking_shard/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
8
#include <tuple>
9
10
namespace
cbdc::locking_shard::rpc
{
11
auto
request::operator==
(
const
request
& rhs)
const
->
bool
{
12
return
std::tie(m_dtx_id, m_params)
13
== std::tie(rhs.m_dtx_id, rhs.m_params);
14
}
15
}
cbdc::locking_shard::rpc
Definition
uhs/twophase/locking_shard/client.cpp:11
cbdc::locking_shard::rpc::request
Request to a shard.
Definition
uhs/twophase/locking_shard/messages.hpp:27
cbdc::locking_shard::rpc::request::operator==
auto operator==(const request &rhs) const -> bool
Definition
uhs/twophase/locking_shard/messages.cpp:11
messages.hpp
src
uhs
twophase
locking_shard
messages.cpp
Generated by
1.12.0