Skip to content

Commit 698f869

Browse files
committed
Merge bitcoin#31961: Require sqlite when building the wallet
36b6f36 build: require sqlite when building the wallet (Sjors Provoost) Pull request description: Require that sqlite is available in order to compile the wallet. Removes instances of `USE_SQLITE` since it is no longer possible to not have sqlite available. The `NO_SQLITE` option is dropped from depends. This is another step towards dropping the legacy wallet, extracted from bitcoin#31250. ACKs for top commit: m3dwards: ACK 36b6f36 davidgumberg: crACK bitcoin@36b6f36 hebasto: re-ACK 36b6f36. Tree-SHA512: 870a0135671c80c4f28602119eb8637a1ed43b51b1673bfe88425782fb62ec6ef0f3d6baf0d5984d6a243779b0f63423fd4c4dc324ef87bffba13d63e05ad793
2 parents f4b3a58 + 36b6f36 commit 698f869

40 files changed

+34
-143
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ jobs:
171171
generate-options: '-DBUILD_GUI=ON -DWITH_BDB=ON -DWITH_ZMQ=ON -DBUILD_BENCH=ON -DWERROR=ON'
172172
job-name: 'Win64 native, VS 2022'
173173
- job-type: fuzz
174-
generate-options: '-DVCPKG_MANIFEST_NO_DEFAULT_FEATURES=ON -DVCPKG_MANIFEST_FEATURES="sqlite" -DBUILD_GUI=OFF -DBUILD_FOR_FUZZING=ON -DWERROR=ON'
174+
generate-options: '-DVCPKG_MANIFEST_NO_DEFAULT_FEATURES=ON -DVCPKG_MANIFEST_FEATURES="wallet" -DBUILD_GUI=OFF -DBUILD_FOR_FUZZING=ON -DWERROR=ON'
175175
job-name: 'Win64 native fuzz, VS 2022'
176176

177177
steps:

CMakeLists.txt

+1-4
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,13 @@ option(BUILD_UTIL_CHAINSTATE "Build experimental bitcoin-chainstate executable."
102102
option(BUILD_KERNEL_LIB "Build experimental bitcoinkernel library." ${BUILD_UTIL_CHAINSTATE})
103103

104104
option(ENABLE_WALLET "Enable wallet." ON)
105-
option(WITH_SQLITE "Enable SQLite wallet support." ${ENABLE_WALLET})
106-
if(WITH_SQLITE)
105+
if(ENABLE_WALLET)
107106
if(VCPKG_TARGET_TRIPLET)
108107
# Use of the `unofficial::` namespace is a vcpkg package manager convention.
109108
find_package(unofficial-sqlite3 CONFIG REQUIRED)
110109
else()
111110
find_package(SQLite3 3.7.17 REQUIRED)
112111
endif()
113-
set(USE_SQLITE ON)
114112
endif()
115113
option(WITH_BDB "Enable Berkeley DB (BDB) wallet support." OFF)
116114
cmake_dependent_option(WARN_INCOMPATIBLE_BDB "Warn when using a Berkeley DB (BDB) version other than 4.8." ON "WITH_BDB" OFF)
@@ -652,7 +650,6 @@ message(" libbitcoinkernel (experimental) ..... ${BUILD_KERNEL_LIB}")
652650
message("Optional features:")
653651
message(" wallet support ...................... ${ENABLE_WALLET}")
654652
if(ENABLE_WALLET)
655-
message(" - descriptor wallets (SQLite) ...... ${WITH_SQLITE}")
656653
message(" - legacy wallets (Berkeley DB) ..... ${WITH_BDB}")
657654
endif()
658655
message(" external signer ..................... ${ENABLE_EXTERNAL_SIGNER}")

CMakePresets.json

-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@
8383
"WITH_BDB": "ON",
8484
"WITH_MULTIPROCESS": "ON",
8585
"WITH_QRENCODE": "ON",
86-
"WITH_SQLITE": "ON",
8786
"WITH_USDT": "ON",
8887
"WITH_ZMQ": "ON"
8988
}

cmake/bitcoin-build-config.h.in

-3
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,4 @@
144144
/* Define if QR support should be compiled in */
145145
#cmakedefine USE_QRCODE 1
146146

147-
/* Define if sqlite support should be compiled in */
148-
#cmakedefine USE_SQLITE 1
149-
150147
#endif //BITCOIN_CONFIG_H

depends/Makefile

+1-4
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ NO_LIBEVENT ?=
3737
NO_QT ?=
3838
NO_QR ?=
3939
NO_BDB ?=
40-
NO_SQLITE ?=
4140
NO_WALLET ?=
4241
NO_ZMQ ?=
4342
NO_USDT ?=
@@ -160,8 +159,7 @@ qrencode_packages_$(NO_QR) = $(qrencode_$(host_os)_packages)
160159
qt_packages_$(NO_QT) = $(qt_packages) $(qt_$(host_os)_packages) $(qt_$(host_arch)_$(host_os)_packages) $(qrencode_packages_)
161160

162161
bdb_packages_$(NO_BDB) = $(bdb_packages)
163-
sqlite_packages_$(NO_SQLITE) = $(sqlite_packages)
164-
wallet_packages_$(NO_WALLET) = $(bdb_packages_) $(sqlite_packages_)
162+
wallet_packages_$(NO_WALLET) = $(bdb_packages_) $(sqlite_packages)
165163

166164
zmq_packages_$(NO_ZMQ) = $(zmq_packages)
167165
multiprocess_packages_$(MULTIPROCESS) = $(multiprocess_packages)
@@ -233,7 +231,6 @@ $(host_prefix)/toolchain.cmake : toolchain.cmake.in $(host_prefix)/.stamp_$(fina
233231
-e 's|@zmq_packages@|$(zmq_packages_)|' \
234232
-e 's|@wallet_packages@|$(wallet_packages_)|' \
235233
-e 's|@bdb_packages@|$(bdb_packages_)|' \
236-
-e 's|@sqlite_packages@|$(sqlite_packages_)|' \
237234
-e 's|@usdt_packages@|$(usdt_packages_)|' \
238235
-e 's|@multiprocess@|$(MULTIPROCESS)|' \
239236
$< > $@

depends/README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,8 @@ The following can be set when running make: `make FOO=bar`
115115
- `NO_QT`: Don't download/build/cache Qt and its dependencies
116116
- `NO_QR`: Don't download/build/cache packages needed for enabling qrencode
117117
- `NO_ZMQ`: Don't download/build/cache packages needed for enabling ZeroMQ
118-
- `NO_WALLET`: Don't download/build/cache libs needed to enable the wallet
118+
- `NO_WALLET`: Don't download/build/cache libs needed to enable the wallet (SQLite)
119119
- `NO_BDB`: Don't download/build/cache BerkeleyDB
120-
- `NO_SQLITE`: Don't download/build/cache SQLite
121120
- `NO_USDT`: Don't download/build/cache packages needed for enabling USDT tracepoints
122121
- `MULTIPROCESS`: Build libmultiprocess (experimental)
123122
- `DEBUG`: Disable some optimizations and enable more runtime checking

depends/toolchain.cmake.in

-7
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,6 @@ else()
132132
set(WITH_BDB ON CACHE BOOL "")
133133
endif()
134134

135-
set(sqlite_packages @sqlite_packages@)
136-
if("${wallet_packages}" STREQUAL "" OR "${sqlite_packages}" STREQUAL "")
137-
set(WITH_SQLITE OFF CACHE BOOL "")
138-
else()
139-
set(WITH_SQLITE ON CACHE BOOL "")
140-
endif()
141-
142135
set(usdt_packages @usdt_packages@)
143136
if("${usdt_packages}" STREQUAL "")
144137
set(WITH_USDT OFF CACHE BOOL "")

doc/build-freebsd.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ from ports. However, you can build DB 4.8 yourself [using depends](/depends).
4242

4343
```bash
4444
pkg install gmake
45-
gmake -C depends NO_BOOST=1 NO_LIBEVENT=1 NO_QT=1 NO_SQLITE=1 NO_ZMQ=1 NO_USDT=1
45+
gmake -C depends NO_BOOST=1 NO_LIBEVENT=1 NO_QT=1 NO_ZMQ=1 NO_USDT=1
4646
```
4747

4848
When the build is complete, the Berkeley DB installation location will be displayed:

doc/build-openbsd.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ from ports. However you can build it yourself, [using depends](/depends).
4444
Refer to [depends/README.md](/depends/README.md) for detailed instructions.
4545

4646
```bash
47-
gmake -C depends NO_BOOST=1 NO_LIBEVENT=1 NO_QT=1 NO_SQLITE=1 NO_ZMQ=1 NO_USDT=1
47+
gmake -C depends NO_BOOST=1 NO_LIBEVENT=1 NO_QT=1 NO_ZMQ=1 NO_USDT=1
4848
...
4949
to: /path/to/bitcoin/depends/*-unknown-openbsd*
5050
```
@@ -103,7 +103,7 @@ There are many ways to configure Bitcoin Core, here are a few common examples:
103103
This enables descriptor wallet support and the GUI, assuming SQLite and Qt 5 are installed.
104104

105105
```bash
106-
cmake -B build -DWITH_SQLITE=ON -DBUILD_GUI=ON
106+
cmake -B build -DBUILD_GUI=ON
107107
```
108108

109109
Run `cmake -B build -LH` to see the full list of available options.

doc/build-unix.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ The legacy wallet uses Berkeley DB. To ensure backwards compatibility it is
145145
recommended to use Berkeley DB 4.8. If you have to build it yourself, and don't
146146
want to use any other libraries built in depends, you can do:
147147
```bash
148-
make -C depends NO_BOOST=1 NO_LIBEVENT=1 NO_QT=1 NO_SQLITE=1 NO_ZMQ=1 NO_USDT=1
148+
make -C depends NO_BOOST=1 NO_LIBEVENT=1 NO_QT=1 NO_ZMQ=1 NO_USDT=1
149149
...
150150
to: /path/to/bitcoin/depends/x86_64-pc-linux-gnu
151151
```

src/bench/wallet_create.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// file COPYING or https://www.opensource.org/licenses/mit-license.php.
44

55
#include <bench/bench.h>
6-
#include <bitcoin-build-config.h> // IWYU pragma: keep
76
#include <random.h>
87
#include <support/allocators/secure.h>
98
#include <test/util/setup_common.h>
@@ -61,9 +60,7 @@ static void WalletCreate(benchmark::Bench& bench, bool encrypted)
6160
static void WalletCreatePlain(benchmark::Bench& bench) { WalletCreate(bench, /*encrypted=*/false); }
6261
static void WalletCreateEncrypted(benchmark::Bench& bench) { WalletCreate(bench, /*encrypted=*/true); }
6362

64-
#ifdef USE_SQLITE
6563
BENCHMARK(WalletCreatePlain, benchmark::PriorityLevel::LOW);
6664
BENCHMARK(WalletCreateEncrypted, benchmark::PriorityLevel::LOW);
67-
#endif
6865

6966
} // namespace wallet

src/bench/wallet_ismine.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,8 @@ static void WalletIsMineLegacy(benchmark::Bench& bench) { WalletIsMine(bench, /*
7575
BENCHMARK(WalletIsMineLegacy, benchmark::PriorityLevel::LOW);
7676
#endif
7777

78-
#ifdef USE_SQLITE
7978
static void WalletIsMineDescriptors(benchmark::Bench& bench) { WalletIsMine(bench, /*legacy_wallet=*/false); }
8079
static void WalletIsMineMigratedDescriptors(benchmark::Bench& bench) { WalletIsMine(bench, /*legacy_wallet=*/false, /*num_combo=*/2000); }
8180
BENCHMARK(WalletIsMineDescriptors, benchmark::PriorityLevel::LOW);
8281
BENCHMARK(WalletIsMineMigratedDescriptors, benchmark::PriorityLevel::LOW);
83-
#endif
8482
} // namespace wallet

src/bench/wallet_loading.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ static void WalletLoadingLegacy(benchmark::Bench& bench) { WalletLoading(bench,
7373
BENCHMARK(WalletLoadingLegacy, benchmark::PriorityLevel::HIGH);
7474
#endif
7575

76-
#ifdef USE_SQLITE
7776
static void WalletLoadingDescriptors(benchmark::Bench& bench) { WalletLoading(bench, /*legacy_wallet=*/false); }
7877
BENCHMARK(WalletLoadingDescriptors, benchmark::PriorityLevel::HIGH);
79-
#endif
8078
} // namespace wallet

src/bench/wallet_migration.cpp

-6
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// Distributed under the MIT software license, see the accompanying
33
// file COPYING or https://www.opensource.org/licenses/mit-license.php.
44

5-
#include <bitcoin-build-config.h> // IWYU pragma: keep
6-
75
#include <bench/bench.h>
86
#include <kernel/chain.h>
97
#include <interfaces/chain.h>
@@ -17,8 +15,6 @@
1715

1816
#include <optional>
1917

20-
#if defined(USE_SQLITE) // only enable benchmark when sqlite is enabled
21-
2218
namespace wallet{
2319

2420
static void WalletMigration(benchmark::Bench& bench)
@@ -75,5 +71,3 @@ static void WalletMigration(benchmark::Bench& bench)
7571
BENCHMARK(WalletMigration, benchmark::PriorityLevel::LOW);
7672

7773
} // namespace wallet
78-
79-
#endif // end USE_SQLITE && USE_BDB

src/qt/bitcoingui.cpp

-5
Original file line numberDiff line numberDiff line change
@@ -1215,11 +1215,6 @@ void BitcoinGUI::setNumBlocks(int count, const QDateTime& blockDate, double nVer
12151215
void BitcoinGUI::createWallet()
12161216
{
12171217
#ifdef ENABLE_WALLET
1218-
#ifndef USE_SQLITE
1219-
// Compiled without sqlite support (required for descriptor wallets)
1220-
message(tr("Error creating wallet"), tr("Cannot create new wallet, the software was compiled without sqlite support (required for descriptor wallets)"), CClientUIInterface::MSG_ERROR);
1221-
return;
1222-
#endif // USE_SQLITE
12231218
auto activity = new CreateWalletActivity(getWalletController(), this);
12241219
connect(activity, &CreateWalletActivity::created, this, &BitcoinGUI::setCurrentWallet);
12251220
connect(activity, &CreateWalletActivity::created, rpcConsole, &RPCConsole::setCurrentWallet);

src/wallet/CMakeLists.txt

+3-11
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ add_library(bitcoin_wallet STATIC EXCLUDE_FROM_ALL
2828
rpc/wallet.cpp
2929
scriptpubkeyman.cpp
3030
spend.cpp
31+
sqlite.cpp
3132
transaction.cpp
3233
wallet.cpp
3334
walletdb.cpp
@@ -37,22 +38,13 @@ target_link_libraries(bitcoin_wallet
3738
PRIVATE
3839
core_interface
3940
bitcoin_common
41+
$<TARGET_NAME_IF_EXISTS:unofficial::sqlite3::sqlite3>
42+
$<TARGET_NAME_IF_EXISTS:SQLite::SQLite3>
4043
univalue
4144
Boost::headers
4245
$<TARGET_NAME_IF_EXISTS:USDT::headers>
4346
)
4447

45-
if(NOT USE_SQLITE AND NOT USE_BDB)
46-
message(FATAL_ERROR "Wallet functionality requested but no BDB or SQLite support available.")
47-
endif()
48-
if(USE_SQLITE)
49-
target_sources(bitcoin_wallet PRIVATE sqlite.cpp)
50-
target_link_libraries(bitcoin_wallet
51-
PRIVATE
52-
$<TARGET_NAME_IF_EXISTS:unofficial::sqlite3::sqlite3>
53-
$<TARGET_NAME_IF_EXISTS:SQLite::SQLite3>
54-
)
55-
endif()
5648
if(USE_BDB)
5749
target_sources(bitcoin_wallet PRIVATE bdb.cpp salvage.cpp)
5850
target_link_libraries(bitcoin_wallet PUBLIC BerkeleyDB::BerkeleyDB)

src/wallet/init.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,7 @@ void WalletInit::AddWalletOptions(ArgsManager& argsman) const
9090
argsman.AddHiddenArgs({"-dblogsize", "-flushwallet", "-privdb", "-swapbdbendian"});
9191
#endif
9292

93-
#ifdef USE_SQLITE
9493
argsman.AddArg("-unsafesqlitesync", "Set SQLite synchronous=OFF to disable waiting for the database to sync to disk. This is unsafe and can cause data loss and corruption. This option is only used by tests to improve their performance (default: false)", ArgsManager::ALLOW_ANY | ArgsManager::DEBUG_ONLY, OptionsCategory::WALLET_DEBUG_TEST);
95-
#else
96-
argsman.AddHiddenArgs({"-unsafesqlitesync"});
97-
#endif
9894

9995
argsman.AddArg("-walletrejectlongchains", strprintf("Wallet will not create transactions that violate mempool chain limits (default: %u)", DEFAULT_WALLET_REJECT_LONG_CHAINS), ArgsManager::ALLOW_ANY | ArgsManager::DEBUG_ONLY, OptionsCategory::WALLET_DEBUG_TEST);
10096
argsman.AddArg("-walletcrosschain", strprintf("Allow reusing wallet files across chains (default: %u)", DEFAULT_WALLETCROSSCHAIN), ArgsManager::ALLOW_ANY | ArgsManager::DEBUG_ONLY, OptionsCategory::WALLET_DEBUG_TEST);

src/wallet/rpc/wallet.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -403,9 +403,6 @@ static RPCHelpMan createwallet()
403403
flags |= WALLET_FLAG_AVOID_REUSE;
404404
}
405405
if (self.Arg<bool>("descriptors")) {
406-
#ifndef USE_SQLITE
407-
throw JSONRPCError(RPC_WALLET_ERROR, "Compiled without sqlite support (required for descriptor wallets)");
408-
#endif
409406
flags |= WALLET_FLAG_DESCRIPTORS;
410407
} else {
411408
if (!context.chain->rpcEnableDeprecated("create_bdb")) {

src/wallet/test/db_tests.cpp

-7
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313
#ifdef USE_BDB
1414
#include <wallet/bdb.h>
1515
#endif
16-
#ifdef USE_SQLITE
1716
#include <wallet/sqlite.h>
18-
#endif
1917
#include <wallet/migrate.h>
2018
#include <wallet/test/util.h>
2119
#include <wallet/walletutil.h> // for WALLET_FLAG_DESCRIPTORS
@@ -138,9 +136,7 @@ static std::vector<std::unique_ptr<WalletDatabase>> TestDatabases(const fs::path
138136
// Needs BDB to make the DB to read
139137
dbs.emplace_back(std::make_unique<BerkeleyRODatabase>(BDBDataFile(path_root / "bdb"), /*open=*/false));
140138
#endif
141-
#ifdef USE_SQLITE
142139
dbs.emplace_back(MakeSQLiteDatabase(path_root / "sqlite", options, status, error));
143-
#endif
144140
dbs.emplace_back(CreateMockableWalletDatabase());
145141
return dbs;
146142
}
@@ -293,8 +289,6 @@ BOOST_AUTO_TEST_CASE(erase_prefix)
293289
}
294290
}
295291

296-
#ifdef USE_SQLITE
297-
298292
// Test-only statement execution error
299293
constexpr int TEST_SQLITE_ERROR = -999;
300294

@@ -385,7 +379,6 @@ BOOST_AUTO_TEST_CASE(concurrent_txn_dont_interfere)
385379
BOOST_CHECK(handler2->Read(key, read_value));
386380
BOOST_CHECK_EQUAL(read_value, value2);
387381
}
388-
#endif // USE_SQLITE
389382

390383
BOOST_AUTO_TEST_SUITE_END()
391384
} // namespace wallet

src/wallet/test/fuzz/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ target_sources(fuzz
88
coinselection.cpp
99
crypter.cpp
1010
fees.cpp
11-
$<$<BOOL:${USE_SQLITE}>:${CMAKE_CURRENT_LIST_DIR}/notifications.cpp>
12-
$<$<BOOL:${USE_SQLITE}>:${CMAKE_CURRENT_LIST_DIR}/scriptpubkeyman.cpp>
11+
notifications.cpp
12+
scriptpubkeyman.cpp
1313
spend.cpp
1414
wallet_bdb_parser.cpp
1515
)

src/wallet/test/util.h

-2
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ class WalletDatabase;
2727
struct WalletContext;
2828

2929
static const DatabaseFormat DATABASE_FORMATS[] = {
30-
#ifdef USE_SQLITE
3130
DatabaseFormat::SQLITE,
32-
#endif
3331
#ifdef USE_BDB
3432
DatabaseFormat::BERKELEY,
3533
#endif

src/wallet/walletdb.cpp

+1-14
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@
2222
#include <wallet/bdb.h>
2323
#endif
2424
#include <wallet/migrate.h>
25-
#ifdef USE_SQLITE
2625
#include <wallet/sqlite.h>
27-
#endif
2826
#include <wallet/wallet.h>
2927

3028
#include <atomic>
@@ -1464,25 +1462,14 @@ std::unique_ptr<WalletDatabase> MakeDatabase(const fs::path& path, const Databas
14641462

14651463
// If the format is not specified or detected, choose the default format based on what is available. We prefer BDB over SQLite for now.
14661464
if (!format) {
1467-
#ifdef USE_SQLITE
14681465
format = DatabaseFormat::SQLITE;
1469-
#endif
14701466
#ifdef USE_BDB
14711467
format = DatabaseFormat::BERKELEY;
14721468
#endif
14731469
}
14741470

14751471
if (format == DatabaseFormat::SQLITE) {
1476-
#ifdef USE_SQLITE
1477-
if constexpr (true) {
1478-
return MakeSQLiteDatabase(path, options, status, error);
1479-
} else
1480-
#endif
1481-
{
1482-
error = Untranslated(strprintf("Failed to open database path '%s'. Build does not support SQLite database format.", fs::PathToString(path)));
1483-
status = DatabaseStatus::FAILED_BAD_FORMAT;
1484-
return nullptr;
1485-
}
1472+
return MakeSQLiteDatabase(path, options, status, error);
14861473
}
14871474

14881475
if (format == DatabaseFormat::BERKELEY_RO) {

test/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ function(create_test_config)
1616
endmacro()
1717

1818
set_configure_variable(ENABLE_WALLET ENABLE_WALLET)
19-
set_configure_variable(WITH_SQLITE USE_SQLITE)
2019
set_configure_variable(WITH_BDB USE_BDB)
2120
set_configure_variable(BUILD_CLI BUILD_BITCOIN_CLI)
2221
set_configure_variable(BUILD_UTIL BUILD_BITCOIN_UTIL)

test/config.ini.in

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ RPCAUTH=@abs_top_srcdir@/share/rpcauth/rpcauth.py
1616
[components]
1717
# Which components are enabled. These are commented out by `configure` if they were disabled when running config.
1818
@ENABLE_WALLET_TRUE@ENABLE_WALLET=true
19-
@USE_SQLITE_TRUE@USE_SQLITE=true
2019
@USE_BDB_TRUE@USE_BDB=true
2120
@BUILD_BITCOIN_CLI_TRUE@ENABLE_CLI=true
2221
@BUILD_BITCOIN_UTIL_TRUE@ENABLE_BITCOIN_UTIL=true

test/functional/feature_filelock.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ def check_wallet_filelock(descriptors):
5959

6060
if self.is_bdb_compiled():
6161
check_wallet_filelock(False)
62-
if self.is_sqlite_compiled():
63-
check_wallet_filelock(True)
62+
check_wallet_filelock(True)
6463

6564
if __name__ == '__main__':
6665
FilelockTest(__file__).main()

0 commit comments

Comments
 (0)