Skip to content

Commit

Permalink
Remove unused process_live_dispatcher
Browse files Browse the repository at this point in the history
  • Loading branch information
pwojcikdev committed Jan 20, 2025
1 parent 5e5905f commit a7c6e2d
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 78 deletions.
2 changes: 0 additions & 2 deletions nano/node/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ add_library(
peer_exclusion.cpp
portmapping.hpp
portmapping.cpp
process_live_dispatcher.cpp
process_live_dispatcher.hpp
pruning.hpp
pruning.cpp
recently_cemented_cache.cpp
Expand Down
4 changes: 0 additions & 4 deletions nano/node/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,6 @@ nano::node::node (std::shared_ptr<boost::asio::io_context> io_ctx_a, std::filesy
epoch_upgrader{ *epoch_upgrader_impl },
local_block_broadcaster_impl{ std::make_unique<nano::local_block_broadcaster> (config.local_block_broadcaster, *this, ledger_notifications, network, confirming_set, stats, logger, !flags.disable_block_processor_republishing) },
local_block_broadcaster{ *local_block_broadcaster_impl },
process_live_dispatcher_impl{ std::make_unique<nano::process_live_dispatcher> (ledger, scheduler.priority, vote_cache, websocket) },
process_live_dispatcher{ *process_live_dispatcher_impl },
peer_history_impl{ std::make_unique<nano::peer_history> (config.peer_history, store, network, logger, stats) },
peer_history{ *peer_history_impl },
monitor_impl{ std::make_unique<nano::monitor> (config.monitor, *this) },
Expand All @@ -207,8 +205,6 @@ nano::node::node (std::shared_ptr<boost::asio::io_context> io_ctx_a, std::filesy
{
logger.debug (nano::log::type::node, "Constructing node...");

process_live_dispatcher.connect (block_processor);

vote_cache.rep_weight_query = [this] (nano::account const & rep) {
return ledger.weight (rep);
};
Expand Down
3 changes: 0 additions & 3 deletions nano/node/node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include <nano/node/nodeconfig.hpp>
#include <nano/node/online_reps.hpp>
#include <nano/node/portmapping.hpp>
#include <nano/node/process_live_dispatcher.hpp>
#include <nano/node/rep_tiers.hpp>
#include <nano/node/repcrawler.hpp>
#include <nano/node/transport/tcp_server.hpp>
Expand Down Expand Up @@ -193,8 +192,6 @@ class node final : public std::enable_shared_from_this<node>
nano::epoch_upgrader & epoch_upgrader;
std::unique_ptr<nano::local_block_broadcaster> local_block_broadcaster_impl;
nano::local_block_broadcaster & local_block_broadcaster;
std::unique_ptr<nano::process_live_dispatcher> process_live_dispatcher_impl;
nano::process_live_dispatcher & process_live_dispatcher;
std::unique_ptr<nano::peer_history> peer_history_impl;
nano::peer_history & peer_history;
std::unique_ptr<nano::monitor> monitor_impl;
Expand Down
30 changes: 0 additions & 30 deletions nano/node/process_live_dispatcher.cpp

This file was deleted.

39 changes: 0 additions & 39 deletions nano/node/process_live_dispatcher.hpp

This file was deleted.

0 comments on commit a7c6e2d

Please sign in to comment.