diff options
Diffstat (limited to 'src/blockchain_converter')
-rw-r--r-- | src/blockchain_converter/CMakeLists.txt | 5 | ||||
-rw-r--r-- | src/blockchain_converter/blockchain_converter.cpp | 3 | ||||
-rw-r--r-- | src/blockchain_converter/blockchain_export.cpp | 2 | ||||
-rw-r--r-- | src/blockchain_converter/blockchain_import.cpp | 2 |
4 files changed, 12 insertions, 0 deletions
diff --git a/src/blockchain_converter/CMakeLists.txt b/src/blockchain_converter/CMakeLists.txt index e0f3be901..660650980 100644 --- a/src/blockchain_converter/CMakeLists.txt +++ b/src/blockchain_converter/CMakeLists.txt @@ -69,6 +69,7 @@ bitmonero_add_executable(blockchain_converter target_link_libraries(blockchain_converter LINK_PRIVATE cryptonote_core + p2p blockchain_db ${CMAKE_THREAD_LIBS_INIT}) @@ -86,6 +87,8 @@ bitmonero_add_executable(blockchain_import target_link_libraries(blockchain_import LINK_PRIVATE cryptonote_core + blockchain_db + p2p ${CMAKE_THREAD_LIBS_INIT}) add_dependencies(blockchain_import @@ -101,6 +104,8 @@ bitmonero_add_executable(blockchain_export target_link_libraries(blockchain_export LINK_PRIVATE cryptonote_core + p2p + blockchain_db ${CMAKE_THREAD_LIBS_INIT}) add_dependencies(blockchain_export diff --git a/src/blockchain_converter/blockchain_converter.cpp b/src/blockchain_converter/blockchain_converter.cpp index 03ab5e434..c3c6d0918 100644 --- a/src/blockchain_converter/blockchain_converter.cpp +++ b/src/blockchain_converter/blockchain_converter.cpp @@ -44,6 +44,9 @@ #include "version.h" #include <iostream> + +unsigned int epee::g_test_dbg_lock_sleep = 0; + namespace { diff --git a/src/blockchain_converter/blockchain_export.cpp b/src/blockchain_converter/blockchain_export.cpp index 4587ce925..dc5c7cadc 100644 --- a/src/blockchain_converter/blockchain_export.cpp +++ b/src/blockchain_converter/blockchain_export.cpp @@ -46,6 +46,8 @@ #include "import.h" +unsigned int epee::g_test_dbg_lock_sleep = 0; + static int max_chunk = 0; static size_t height; diff --git a/src/blockchain_converter/blockchain_import.cpp b/src/blockchain_converter/blockchain_import.cpp index 46d1ac189..6b432ccc6 100644 --- a/src/blockchain_converter/blockchain_import.cpp +++ b/src/blockchain_converter/blockchain_import.cpp @@ -47,6 +47,8 @@ #include "import.h" #include "fake_core.h" +unsigned int epee::g_test_dbg_lock_sleep = 0; + // CONFIG static bool opt_batch = true; static bool opt_verify = true; // use add_new_block, which does verification before calling add_block |