6#ifndef OPENCBDC_TX_SRC_LOCKING_SHARD_STATUS_SERVER_H_
7#define OPENCBDC_TX_SRC_LOCKING_SHARD_STATUS_SERVER_H_
24 std::shared_ptr<status_interface> impl,
29 std::shared_ptr<status_interface> m_impl;
35 -> std::optional<status_response>;
Server for handling TX and UHS ID status requests.
status_server(std::shared_ptr< status_interface > impl, std::unique_ptr< cbdc::rpc::blocking_server< status_request, status_response > > srv)
Constructor.
Generic synchronous RPC server.
bool status_response
Status response RPC messages indicating whether the shard contains given UHS or TX ID.
std::variant< uhs_status_request, tx_status_request > status_request
Status request RPC message wrapper, holding either a UHS ID or TX ID query request.