OpenCBDC Transaction Processor
Loading...
Searching...
No Matches
messages.hpp File Reference
#include "interface.hpp"
Include dependency graph for uhs/twophase/locking_shard/messages.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  cbdc::locking_shard::rpc::discard_params
 Empty type for discard command parameters. More...
 
struct  cbdc::locking_shard::rpc::request
 Request to a shard. More...
 
struct  cbdc::locking_shard::rpc::apply_response
 Empty type for the apply response. More...
 
struct  cbdc::locking_shard::rpc::discard_response
 Empty type for the discard response. More...
 

Namespaces

namespace  cbdc
 
namespace  cbdc::locking_shard
 
namespace  cbdc::locking_shard::rpc
 

Typedefs

using cbdc::locking_shard::rpc::lock_params = std::vector<tx>
 Transactions whose outputs the locking shard should lock.
 
using cbdc::locking_shard::rpc::apply_params = std::vector<bool>
 Vector of bools.
 
using cbdc::locking_shard::rpc::lock_response = std::vector<bool>
 Response from a lock command, a vector of flags indicating which transactions in the batch had their relevant inputs successfully locked.
 
using cbdc::locking_shard::rpc::response = std::variant<lock_response, apply_response, discard_response>
 Response to a locking shard request.