Skip to content

Commit

Permalink
move snapshot_sync to db
Browse files Browse the repository at this point in the history
  • Loading branch information
battlmonstr committed Mar 11, 2024
1 parent 404536c commit 3cb36a9
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/dev/snapshots.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@
#include <silkworm/core/types/address.hpp>
#include <silkworm/core/types/block_body_for_storage.hpp>
#include <silkworm/core/types/evmc_bytes32.hpp>
#include <silkworm/db/snapshot_sync.hpp>
#include <silkworm/db/snapshots/bittorrent/client.hpp>
#include <silkworm/db/snapshots/index.hpp>
#include <silkworm/db/snapshots/repository.hpp>
#include <silkworm/db/snapshots/seg/seg_zip.hpp>
#include <silkworm/db/snapshots/snapshot.hpp>
#include <silkworm/infra/common/ensure.hpp>
#include <silkworm/infra/common/log.hpp>
#include <silkworm/node/snapshot_sync.hpp>

#include "../common/common.hpp"
#include "../common/shutdown_signal.hpp"
Expand Down
3 changes: 3 additions & 0 deletions silkworm/db/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ add_subdirectory(etl)
add_subdirectory(snapshots)

find_package(absl REQUIRED)
find_package(magic_enum REQUIRED)
find_package(Microsoft.GSL REQUIRED)
find_package(nlohmann_json REQUIRED)
find_package(roaring REQUIRED)
Expand All @@ -37,8 +38,10 @@ set(LIBS_PUBLIC
# cmake-format: off
set(LIBS_PRIVATE
cborcpp
magic_enum::magic_enum
Microsoft.GSL::GSL
nlohmann_json::nlohmann_json
silkworm_db_etl
silkworm_infra
silkworm_snapshots
)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion silkworm/node/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

#include <utility>

#include <silkworm/db/snapshot_sync.hpp>
#include <silkworm/db/snapshots/bittorrent/client.hpp>
#include <silkworm/infra/common/log.hpp>
#include <silkworm/infra/common/os.hpp>
Expand All @@ -26,7 +27,6 @@
#include <silkworm/node/backend/remote/backend_kv_server.hpp>
#include <silkworm/node/common/preverified_hashes.hpp>
#include <silkworm/node/resource_usage.hpp>
#include <silkworm/node/snapshot_sync.hpp>
#include <silkworm/node/stagedsync/server.hpp>

namespace silkworm::node {
Expand Down

0 comments on commit 3cb36a9

Please sign in to comment.