6#ifndef OPENCBDC_TX_SRC_CLIENT_ATOMIZER_CLIENT_H_
7#define OPENCBDC_TX_SRC_CLIENT_ATOMIZER_CLIENT_H_
24 const std::shared_ptr<logging::log>& logger,
25 const std::string& wallet_file,
26 const std::string& client_file);
43 auto sync() ->
bool override;
64 std::shared_ptr<logging::log> m_logger;
68 decltype(&secp256k1_context_destroy)>
69 m_secp{secp256k1_context_create(SECP256K1_CONTEXT_SIGN),
70 &secp256k1_context_destroy};
Client for interacting with the atomizer architecture.
auto operator=(const atomizer_client &) -> atomizer_client &=delete
~atomizer_client() override
auto operator=(atomizer_client &&) -> atomizer_client &=delete
auto init_derived() -> bool override
Initializes the atomizer client.
atomizer_client(atomizer_client &&)=delete
auto sync() -> bool override
Update the client with the latest state from the watchtower.
atomizer_client(const atomizer_client &)=delete
auto send_mint_tx(const transaction::full_tx &mint_tx) -> bool override
Sends the given transaction directly to the atomizer cluster.
External client for sending new transactions to the system.
Manages a group of peer s.
Client to synchronously request information from the watchtower.
struct secp256k1_context_struct secp256k1_context
Project-wide configuration options.
Client helpers for interfacing with a watchtower server.