Move ascending bootstrap classes to node/bootstrap/
This commit is contained in:
parent
b509b46045
commit
94e24fa7e8
22 changed files with 39 additions and 37 deletions
|
|
@ -2,7 +2,8 @@
|
|||
#include <nano/lib/logging.hpp>
|
||||
#include <nano/lib/stats.hpp>
|
||||
#include <nano/lib/tomlconfig.hpp>
|
||||
#include <nano/node/bootstrap_ascending/service.hpp>
|
||||
#include <nano/node/bootstrap/database_scan.hpp>
|
||||
#include <nano/node/bootstrap/service.hpp>
|
||||
#include <nano/node/make_store.hpp>
|
||||
#include <nano/secure/ledger.hpp>
|
||||
#include <nano/secure/ledger_set_any.hpp>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#include <nano/node/bootstrap_ascending/throttle.hpp>
|
||||
#include <nano/node/bootstrap/throttle.hpp>
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -24,23 +24,23 @@ add_library(
|
|||
blockprocessor.cpp
|
||||
bootstrap_weights_beta.hpp
|
||||
bootstrap_weights_live.hpp
|
||||
bootstrap/account_sets.hpp
|
||||
bootstrap/account_sets.cpp
|
||||
bootstrap/bootstrap_config.hpp
|
||||
bootstrap/bootstrap_config.cpp
|
||||
bootstrap/bootstrap_server.hpp
|
||||
bootstrap/bootstrap_server.cpp
|
||||
bootstrap_ascending/account_sets.hpp
|
||||
bootstrap_ascending/account_sets.cpp
|
||||
bootstrap_ascending/database_scan.hpp
|
||||
bootstrap_ascending/database_scan.cpp
|
||||
bootstrap_ascending/common.hpp
|
||||
bootstrap_ascending/frontier_scan.hpp
|
||||
bootstrap_ascending/frontier_scan.cpp
|
||||
bootstrap_ascending/throttle.hpp
|
||||
bootstrap_ascending/throttle.cpp
|
||||
bootstrap_ascending/peer_scoring.hpp
|
||||
bootstrap_ascending/peer_scoring.cpp
|
||||
bootstrap_ascending/service.hpp
|
||||
bootstrap_ascending/service.cpp
|
||||
bootstrap/common.hpp
|
||||
bootstrap/throttle.hpp
|
||||
bootstrap/throttle.cpp
|
||||
bootstrap/database_scan.hpp
|
||||
bootstrap/database_scan.cpp
|
||||
bootstrap/frontier_scan.hpp
|
||||
bootstrap/frontier_scan.cpp
|
||||
bootstrap/peer_scoring.hpp
|
||||
bootstrap/peer_scoring.cpp
|
||||
bootstrap/service.hpp
|
||||
bootstrap/service.cpp
|
||||
cli.hpp
|
||||
cli.cpp
|
||||
common.hpp
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#include <nano/lib/stats.hpp>
|
||||
#include <nano/lib/utility.hpp>
|
||||
#include <nano/node/bootstrap/account_sets.hpp>
|
||||
#include <nano/node/bootstrap/bootstrap_config.hpp>
|
||||
#include <nano/node/bootstrap_ascending/account_sets.hpp>
|
||||
|
||||
#include <algorithm>
|
||||
#include <memory>
|
||||
|
|
@ -2,7 +2,8 @@
|
|||
|
||||
#include <nano/lib/numbers.hpp>
|
||||
#include <nano/node/bootstrap/bootstrap_config.hpp>
|
||||
#include <nano/node/bootstrap_ascending/common.hpp>
|
||||
#include <nano/node/bootstrap/common.hpp>
|
||||
#include <nano/node/fwd.hpp>
|
||||
|
||||
#include <boost/multi_index/hashed_index.hpp>
|
||||
#include <boost/multi_index/mem_fun.hpp>
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
#include <nano/lib/utility.hpp>
|
||||
#include <nano/node/bootstrap_ascending/crawlers.hpp>
|
||||
#include <nano/node/bootstrap_ascending/database_scan.hpp>
|
||||
#include <nano/node/bootstrap/crawlers.hpp>
|
||||
#include <nano/node/bootstrap/database_scan.hpp>
|
||||
#include <nano/secure/common.hpp>
|
||||
#include <nano/secure/ledger.hpp>
|
||||
#include <nano/secure/ledger_set_any.hpp>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
#include <nano/node/bootstrap_ascending/frontier_scan.hpp>
|
||||
#include <nano/node/bootstrap/frontier_scan.hpp>
|
||||
|
||||
#include <boost/multiprecision/cpp_dec_float.hpp>
|
||||
#include <boost/multiprecision/cpp_int.hpp>
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <nano/node/bootstrap/bootstrap_config.hpp>
|
||||
#include <nano/node/bootstrap_ascending/common.hpp>
|
||||
#include <nano/node/bootstrap/common.hpp>
|
||||
|
||||
#include <boost/multi_index/hashed_index.hpp>
|
||||
#include <boost/multi_index/mem_fun.hpp>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
#include <nano/node/bootstrap/bootstrap_config.hpp>
|
||||
#include <nano/node/bootstrap_ascending/peer_scoring.hpp>
|
||||
#include <nano/node/bootstrap/peer_scoring.hpp>
|
||||
#include <nano/node/transport/channel.hpp>
|
||||
|
||||
/*
|
||||
|
|
@ -3,8 +3,8 @@
|
|||
#include <nano/lib/stats_enums.hpp>
|
||||
#include <nano/lib/thread_roles.hpp>
|
||||
#include <nano/node/blockprocessor.hpp>
|
||||
#include <nano/node/bootstrap_ascending/crawlers.hpp>
|
||||
#include <nano/node/bootstrap_ascending/service.hpp>
|
||||
#include <nano/node/bootstrap/crawlers.hpp>
|
||||
#include <nano/node/bootstrap/service.hpp>
|
||||
#include <nano/node/network.hpp>
|
||||
#include <nano/node/nodeconfig.hpp>
|
||||
#include <nano/node/transport/transport.hpp>
|
||||
|
|
@ -7,14 +7,14 @@
|
|||
#include <nano/lib/random.hpp>
|
||||
#include <nano/lib/rate_limiting.hpp>
|
||||
#include <nano/lib/thread_pool.hpp>
|
||||
#include <nano/lib/timer.hpp>
|
||||
#include <nano/node/bootstrap/account_sets.hpp>
|
||||
#include <nano/node/bootstrap/bootstrap_config.hpp>
|
||||
#include <nano/node/bootstrap_ascending/account_sets.hpp>
|
||||
#include <nano/node/bootstrap_ascending/common.hpp>
|
||||
#include <nano/node/bootstrap_ascending/database_scan.hpp>
|
||||
#include <nano/node/bootstrap_ascending/frontier_scan.hpp>
|
||||
#include <nano/node/bootstrap_ascending/peer_scoring.hpp>
|
||||
#include <nano/node/bootstrap_ascending/throttle.hpp>
|
||||
#include <nano/node/bootstrap/common.hpp>
|
||||
#include <nano/node/bootstrap/database_scan.hpp>
|
||||
#include <nano/node/bootstrap/frontier_scan.hpp>
|
||||
#include <nano/node/bootstrap/peer_scoring.hpp>
|
||||
#include <nano/node/bootstrap/throttle.hpp>
|
||||
#include <nano/node/fwd.hpp>
|
||||
|
||||
#include <boost/multi_index/hashed_index.hpp>
|
||||
#include <boost/multi_index/member.hpp>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
#include <nano/lib/utility.hpp>
|
||||
#include <nano/node/bootstrap_ascending/throttle.hpp>
|
||||
#include <nano/node/bootstrap/throttle.hpp>
|
||||
|
||||
nano::bootstrap_ascending::throttle::throttle (std::size_t size) :
|
||||
successes_m{ size }
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
#include <nano/lib/stats_sinks.hpp>
|
||||
#include <nano/lib/timer.hpp>
|
||||
#include <nano/node/active_elections.hpp>
|
||||
#include <nano/node/bootstrap_ascending/service.hpp>
|
||||
#include <nano/node/bootstrap/service.hpp>
|
||||
#include <nano/node/common.hpp>
|
||||
#include <nano/node/confirming_set.hpp>
|
||||
#include <nano/node/election.hpp>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#include <nano/lib/thread_roles.hpp>
|
||||
#include <nano/node/bootstrap_ascending/service.hpp>
|
||||
#include <nano/node/bootstrap/service.hpp>
|
||||
#include <nano/node/message_processor.hpp>
|
||||
#include <nano/node/node.hpp>
|
||||
#include <nano/node/telemetry.hpp>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
#include <nano/lib/blocks.hpp>
|
||||
#include <nano/lib/threading.hpp>
|
||||
#include <nano/lib/utility.hpp>
|
||||
#include <nano/node/bootstrap_ascending/service.hpp>
|
||||
#include <nano/node/bootstrap/service.hpp>
|
||||
#include <nano/node/message_processor.hpp>
|
||||
#include <nano/node/network.hpp>
|
||||
#include <nano/node/node.hpp>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
#include <nano/node/active_elections.hpp>
|
||||
#include <nano/node/backlog_population.hpp>
|
||||
#include <nano/node/bandwidth_limiter.hpp>
|
||||
#include <nano/node/bootstrap_ascending/service.hpp>
|
||||
#include <nano/node/bootstrap/service.hpp>
|
||||
#include <nano/node/bootstrap_weights_beta.hpp>
|
||||
#include <nano/node/bootstrap_weights_live.hpp>
|
||||
#include <nano/node/common.hpp>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#include <nano/lib/rpcconfig.hpp>
|
||||
#include <nano/lib/thread_runner.hpp>
|
||||
#include <nano/node/bootstrap/bootstrap_server.hpp>
|
||||
#include <nano/node/bootstrap_ascending/service.hpp>
|
||||
#include <nano/node/bootstrap/service.hpp>
|
||||
#include <nano/node/ipc/ipc_server.hpp>
|
||||
#include <nano/node/json_handler.hpp>
|
||||
#include <nano/node/transport/transport.hpp>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue