diff options
author | merge-script <fanquake@gmail.com> | 2025-03-14 11:23:35 +0800 |
---|---|---|
committer | merge-script <fanquake@gmail.com> | 2025-03-14 11:23:35 +0800 |
commit | 698f86964c68041d938aaf54fdd39466266c371c (patch) | |
tree | fd05ac764a2174a158f36a7bdff11c2c3b954d0a /src/bench/wallet_migration.cpp | |
parent | f4b3a5858aeff910bd9e847cf9aae330c4affe6d (diff) | |
parent | 36b6f36ac4724cb2c9ed0e25314c3bbf55e4ebb8 (diff) |
36b6f36ac4724cb2c9ed0e25314c3bbf55e4ebb8 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 #31250.
ACKs for top commit:
m3dwards:
ACK 36b6f36ac4724cb2c9ed0e25314c3bbf55e4ebb8
davidgumberg:
crACK https://github.com/bitcoin/bitcoin/commit/36b6f36ac4724cb2c9ed0e25314c3bbf55e4ebb8
hebasto:
re-ACK 36b6f36ac4724cb2c9ed0e25314c3bbf55e4ebb8.
Tree-SHA512: 870a0135671c80c4f28602119eb8637a1ed43b51b1673bfe88425782fb62ec6ef0f3d6baf0d5984d6a243779b0f63423fd4c4dc324ef87bffba13d63e05ad793
Diffstat (limited to 'src/bench/wallet_migration.cpp')
-rw-r--r-- | src/bench/wallet_migration.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/bench/wallet_migration.cpp b/src/bench/wallet_migration.cpp index 524839e387..5305833131 100644 --- a/src/bench/wallet_migration.cpp +++ b/src/bench/wallet_migration.cpp @@ -2,8 +2,6 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or https://www.opensource.org/licenses/mit-license.php. -#include <bitcoin-build-config.h> // IWYU pragma: keep - #include <bench/bench.h> #include <kernel/chain.h> #include <interfaces/chain.h> @@ -17,8 +15,6 @@ #include <optional> -#if defined(USE_SQLITE) // only enable benchmark when sqlite is enabled - namespace wallet{ static void WalletMigration(benchmark::Bench& bench) @@ -75,5 +71,3 @@ static void WalletMigration(benchmark::Bench& bench) BENCHMARK(WalletMigration, benchmark::PriorityLevel::LOW); } // namespace wallet - -#endif // end USE_SQLITE && USE_BDB |