6#ifndef OPENCBDC_TX_SRC_SHARD_CONTROLLER_H_
7#define OPENCBDC_TX_SRC_SHARD_CONTROLLER_H_
34 std::shared_ptr<logging::log> logger);
48 std::shared_ptr<logging::log> m_logger;
55 std::thread m_shard_server;
56 std::thread m_atomizer_client;
61 std::vector<std::thread> m_handler_threads;
64 -> std::optional<cbdc::buffer>;
66 -> std::optional<cbdc::buffer>;
67 void request_consumer();
Retrieves blocks from a remote archiver via the network.
Thread-safe producer-consumer FIFO queue supporting multiple concurrent producers and consumers.
Manages a group of peer s.
Wrapper for the shard executable implementation.
auto init() -> bool
Initializes the controller.
controller(controller &&)=delete
auto operator=(const controller &) -> controller &=delete
auto operator=(controller &&) -> controller &=delete
controller(const controller &)=delete
Database shard representing a fraction of the UTXO set.
Tools for reading options from a configuration file and building application-specific parameter sets ...
Shard core functionality.
Project-wide configuration options.