13 m_srv(std::move(srv)) {
14 m_srv->register_handler_callback(
16 std::function<
void(std::optional<bool>)> callback) {
Interface for a coordinator.
virtual auto execute_transaction(transaction::compact_tx tx, callback_type result_callback) -> bool=0
Execute the given compact transaction.
server(interface *impl, std::unique_ptr< cbdc::rpc::async_server< request, response > > srv)
Constructor.
Generic asynchronous RPC server.
A condensed, hash-only transaction representation.