Skip to content

Commit

Permalink
Remove ledger_walker
Browse files Browse the repository at this point in the history
  • Loading branch information
pwojcikdev committed Dec 26, 2023
1 parent 8b2dfb5 commit a529cfd
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 495 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
[submodule "rocksdb"]
path = submodules/rocksdb
url = https://github.com/facebook/rocksdb.git
[submodule "diskhash"]
path = submodules/diskhash
url = https://github.com/nanocurrency/diskhash.git
[submodule "boost"]
path = submodules/boost
url = https://github.com/boostorg/boost.git
Expand Down
7 changes: 0 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -466,13 +466,6 @@ target_link_libraries(boost_property_tree INTERFACE Boost::any)
target_link_libraries(boost_property_tree INTERFACE Boost::format)
target_link_libraries(boost_property_tree INTERFACE Boost::multi_index)

# diskhash
if(NOT CMAKE_SYSTEM_NAME STREQUAL "Windows")
add_library(diskhash STATIC
${CMAKE_SOURCE_DIR}/submodules/diskhash/src/diskhash.c)
include_directories(submodules/diskhash/src)
endif()

# RocksDB
include_directories(submodules/rocksdb/include)
set(USE_RTTI
Expand Down
2 changes: 1 addition & 1 deletion coverage/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ add_custom_target(
'${PROJECT_SOURCE_DIR}/submodules/flatbuffers/*'
'${PROJECT_SOURCE_DIR}/gtest/*' '${PROJECT_SOURCE_DIR}/submodules/rocksdb/*'
'${PROJECT_SOURCE_DIR}/valgrind/*' '${PROJECT_SOURCE_DIR}/nano/core_test/*'
'${PROJECT_SOURCE_DIR}/diskhash/*' '${PROJECT_SOURCE_DIR}/nano/load_test/*'
'${PROJECT_SOURCE_DIR}/nano/load_test/*'
'${PROJECT_SOURCE_DIR}/nano/ipc_flatbuffers_test/*'
'${PROJECT_SOURCE_DIR}/nano/ipc_flatbuffers_lib/*'
'${PROJECT_SOURCE_DIR}/nano/nano_node/*'
Expand Down
1 change: 0 additions & 1 deletion nano/core_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ add_executable(
gap_cache.cpp
ipc.cpp
ledger.cpp
ledger_walker.cpp
locks.cpp
logger.cpp
message.cpp
Expand Down
226 changes: 0 additions & 226 deletions nano/core_test/ledger_walker.cpp

This file was deleted.

7 changes: 0 additions & 7 deletions nano/node/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ add_library(
ipc/ipc_server.cpp
json_handler.hpp
json_handler.cpp
ledger_walker.hpp
ledger_walker.cpp
logging.hpp
logging.cpp
make_store.hpp
Expand Down Expand Up @@ -196,10 +194,6 @@ add_library(
messages.cpp
xorshift.hpp)

if(NOT CMAKE_SYSTEM_NAME STREQUAL "Windows")
set(DISKHASH diskhash)
endif()

target_link_libraries(
node
nano_lib
Expand All @@ -217,7 +211,6 @@ target_link_libraries(
Boost::system
Boost::thread
rocksdb
${DISKHASH}
${CMAKE_DL_LIBS}
${psapi_lib})

Expand Down
Loading

0 comments on commit a529cfd

Please sign in to comment.