Wladimir J. van der Laan
86bf3ae3b5
Merge #20202 : wallet: Make BDB support optional
...
d52f502b1e Fix mock SQLiteDatabases (Andrew Chow)
99309ab3e9 Allow disabling BDB in configure with --without-bdb (Andrew Chow)
ee47f11f73 GUI: Force descriptor wallets when BDB is not compiled (Andrew Chow)
71e40b33bd RPC: Require descriptors=True for createwallet when BDB is not compiled (Andrew Chow)
6ebc41bf9c Enforce salvage is only for BDB wallets (Andrew Chow)
a58b719cf7 Do not compile BDB things when USE_BDB is defined (Andrew Chow)
b33af48210 Include wallet/bdb.h where it is actually being used (Andrew Chow)
Pull request description:
Adds a `--without-bdb` option to `configure` which disables the compilation of the BDB stuff. Legacy wallets will not be created when BDB is not compiled. A legacy-sqlite wallet can be loaded, but we will not create them.
Based on #20156 to resolve the situation where both `--without-sqlite` and `--without-bdb` are provided. In that case, the wallet is disabled and `--disable-wallet` is effectively set.
ACKs for top commit:
laanwj:
Code review ACK d52f502b1e
Tree-SHA512: 5a92ba7a542acc2e27003e9d4e5940e0d02d5c1f110db06cdcab831372bfd83e8d89c269caff31dd5bff062c1cf5f04683becff12bd23a33be731676f346553d
2020-11-23 10:30:01 +01:00
..
2020-10-30 15:52:19 -07:00
2020-05-20 08:27:07 -04:00
2020-10-15 11:28:13 +02:00
2020-09-28 12:27:08 -07:00
2020-08-21 12:48:46 +08:00
2020-09-26 17:57:26 -07:00
2020-10-08 14:11:16 -07:00
2020-11-12 11:43:03 +01:00
2020-10-12 12:14:53 -07:00
2020-11-23 10:30:01 +01:00
2020-11-19 14:19:05 +01:00
2020-10-16 06:26:46 +00:00
2020-10-27 23:08:48 -07:00
2020-08-20 17:55:06 +00:00
2020-11-23 10:26:25 +01:00
2020-11-19 15:48:24 +01:00
2020-11-18 15:15:37 +01:00
2020-11-23 10:30:01 +01:00
2020-10-01 00:33:38 +02:00
2020-07-06 03:52:37 +02:00
2020-10-09 14:29:04 +03:00
2020-10-09 14:29:04 +03:00
2020-08-12 09:22:07 +01:00
2020-11-19 16:30:54 +01:00
2020-10-12 15:35:08 -07:00
2020-07-03 20:43:55 -07:00
2020-08-28 16:50:57 +02:00
2020-08-28 16:50:57 +02:00
2020-11-18 12:00:57 -05:00
2020-10-25 16:51:21 +01:00
2020-11-18 12:00:57 -05:00
2020-09-30 20:43:05 +03:30
2020-11-18 12:00:57 -05:00
2020-10-30 13:53:28 +01:00
2020-11-18 12:00:57 -05:00
2020-09-22 22:32:25 +02:00
2020-05-28 09:55:39 +03:00
2020-05-28 09:55:39 +03:00
2020-07-30 13:57:54 -07:00
2020-05-26 17:27:15 -04:00
2020-06-21 06:41:55 -04:00
2020-10-01 22:22:56 -07:00
2020-08-27 20:07:27 -04:00
2020-11-16 10:40:56 +01:00
2020-09-29 10:20:05 +02:00
2020-09-29 09:59:51 +03:00
2020-09-29 09:59:52 +03:00
2020-10-25 14:25:00 +01:00
2020-11-18 12:00:57 -05:00
2020-11-18 12:00:57 -05:00
2020-07-01 14:44:28 -04:00
2020-07-01 14:44:28 -04:00
2020-08-20 17:55:06 +00:00
2020-11-20 05:36:01 +01:00
2020-09-04 10:25:44 +01:00
2020-07-08 14:26:14 +03:00
2020-11-04 12:16:57 -05:00
2020-05-20 07:30:29 -04:00
2020-06-16 15:15:46 -04:00
2020-10-12 02:06:32 -07:00
2020-10-12 02:06:32 -07:00
2020-05-21 06:53:39 -04:00
2020-06-27 11:49:28 -04:00
2020-11-19 15:33:02 +01:00
2020-08-27 14:33:00 -04:00
2020-08-18 18:03:57 +00:00
2020-06-07 17:03:49 +02:00
2020-05-28 09:54:24 +03:00
2020-11-18 11:56:08 -05:00
2020-10-14 11:18:12 -04:00
2020-10-27 19:40:44 +01:00
2020-10-14 11:18:12 -04:00
2020-10-14 11:18:12 -04:00
2020-11-07 07:50:59 +01:00
2020-11-23 10:30:01 +01:00
2020-07-30 13:57:54 -07:00
2020-06-15 08:08:19 -04:00
2020-09-04 09:46:44 -07:00
2020-10-12 12:14:53 -07:00
2020-10-12 12:14:53 -07:00
2020-11-19 16:30:54 +01:00
2020-10-27 11:14:58 -04:00
2020-11-20 15:11:21 +01:00
2020-11-20 15:11:21 +01:00
2020-11-16 15:54:24 -03:00
2020-11-16 07:57:34 +01:00
2020-10-15 19:21:38 +02:00
2020-06-27 11:49:28 -04:00
2020-07-01 18:03:12 -04:00
2020-07-01 18:02:38 -04:00
2020-10-09 16:42:50 +02:00
2020-10-09 16:42:50 +02:00
2020-06-24 16:32:19 -04:00
2020-06-24 16:32:19 -04:00
2020-10-12 17:17:56 -07:00
2020-10-12 17:17:56 -07:00
2020-08-10 21:30:42 +08:00
2020-11-09 21:21:30 +01:00
2020-09-22 17:08:08 +02:00
2020-06-21 06:02:59 -04:00
2020-06-21 06:02:59 -04:00
2020-10-09 10:32:19 +02:00
2020-09-22 22:31:31 +02:00
2020-09-22 22:31:31 +02:00
2020-07-30 13:57:09 -07:00
2020-10-09 16:42:49 +02:00
2020-08-29 20:46:47 +03:00
2020-09-19 18:02:42 +03:00
2020-08-18 10:46:53 +03:00
2020-10-12 19:50:16 -07:00
2020-10-11 08:51:57 +08:00
2020-10-01 19:00:07 +03:00
2020-07-29 07:53:19 +02:00
2020-07-01 14:44:24 -04:00
2020-09-22 11:34:30 -04:00
2020-09-22 11:34:30 -04:00
2020-10-16 23:33:44 +02:00
2020-10-12 12:14:53 -07:00
2020-10-12 11:01:16 -07:00
2020-10-12 11:01:16 -07:00
2020-11-19 16:39:31 +01:00
2020-11-07 07:50:59 +01:00
2020-09-22 11:34:30 -04:00
2020-09-22 11:34:30 -04:00
2020-09-17 22:17:17 +02:00
2020-10-12 17:18:47 -07:00
2020-07-29 16:36:44 +07:00
2020-11-03 14:01:40 +01:00
2020-11-03 14:01:40 +01:00