33 std::shared_ptr<logging::log> log,
40 virtual auto init() ->
bool = 0;
51 std::shared_ptr<broker::interface> m_broker;
52 std::shared_ptr<logging::log> m_log;
55 mutable std::mutex m_agents_mut;
56 std::atomic<size_t> m_next_id{};
57 std::unordered_map<size_t, std::shared_ptr<agent::impl>> m_agents;
60 std::thread m_cleanup_thread;
63 std::thread m_retry_thread;
65 std::shared_ptr<thread_pool> m_threads{
66 std::make_shared<thread_pool>()};
68 std::shared_ptr<secp256k1_context> m_secp{
69 secp256k1_context_create(SECP256K1_CONTEXT_SIGN
70 | SECP256K1_CONTEXT_VERIFY),
71 &secp256k1_context_destroy};