diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt index c23fbae92fe..c376c1905a2 100644 --- a/src/test/CMakeLists.txt +++ b/src/test/CMakeLists.txt @@ -125,6 +125,7 @@ add_executable(test_bitcoin torcontrol_tests.cpp transaction_tests.cpp translation_tests.cpp + txdownload_tests.cpp txindex_tests.cpp txpackage_tests.cpp txreconciliation_tests.cpp diff --git a/src/test/txdownload_tests.cpp b/src/test/txdownload_tests.cpp new file mode 100644 index 00000000000..3eb57a63537 --- /dev/null +++ b/src/test/txdownload_tests.cpp @@ -0,0 +1,337 @@ +// Copyright (c) 2011-2022 The Bitcoin Core developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + +#include +#include +#include +#include +#include +#include