MarcoFalke
83112db129
Merge #15864 : Fix datadir handling
...
ffea41f5301d5582665cf10ba5c2b9547a1443de Enable all tests in feature_config_args.py (Hennadii Stepanov)
66f5c17f8a3fe06fc65191e379ffc04e43cbbc86 Use CheckDataDirOption() for code uniformity (Hennadii Stepanov)
7e33a18a34b1a9b0f115076c142661d6d30c0585 Fix datadir handling in bitcoin-cli (Hennadii Stepanov)
b28dada37465c0a773cf08b0e6766f0081bcb943 Fix datadir handling in bitcoin-qt (Hennadii Stepanov)
50824093bb2d68fe1393dfd636fab5f8795faa5d Fix datadir handling in bitcoind (Hennadii Stepanov)
740d41ce9f7fdf209366e930bd0fdcc6b1bc6b79 Add CheckDataDirOption() function (Hennadii Stepanov)
c1f325126cf51d28dce8da74bfdf5cd05ab237ea Return absolute path early in AbsPathForConfigVal (Hennadii Stepanov)
Pull request description:
Fix #15240 , see: https://github.com/bitcoin/bitcoin/issues/15240#issuecomment-487353760
Fix #15745
Fix broken `feature_config_args.py` tests (disabled by MarcoFalke@fabe28a0cdcfa13e0e595a0905e3642a960d3077). All test are enabled now.
This PR is alternative to #13621 .
User's `$HOME` directory is not touched unnecessarily now.
~To make reviewing easier only `bitcoind` code is modified (neither `bitcoin-cli` nor `bitcoin-qt`).~
Refs:
- https://github.com/bitcoin/bitcoin/issues/15745#issuecomment-479852569 by **laanwj**
- #16220
Top commit has no ACKs.
Tree-SHA512: 4a4cda10e0b67c8f374da0c9567003d2b566d948e7f8550fe246868b5794c15010e88ea206009480b9cd2f737f310a15e984f920730448f99a895893bed351df
2019-08-19 10:01:30 -04:00
..
2019-07-27 15:05:14 +03:00
2019-03-05 11:19:32 +01:00
2019-08-14 15:52:52 -04:00
2019-06-25 15:13:02 +02:00
2019-07-24 16:33:20 +03:00
2019-08-15 12:47:15 -04:00
2019-01-26 12:45:48 -05:00
2019-08-15 12:47:15 -04:00
2019-06-28 22:44:38 -04:00
2019-06-02 17:15:23 +02:00
2019-08-19 10:01:30 -04:00
2019-08-16 19:34:01 -04:00
2019-08-16 19:34:01 -04:00
2019-03-31 11:41:05 -07:00
2019-07-01 12:59:44 +02:00
2019-08-16 19:34:01 -04:00
2018-09-07 08:21:14 -04:00
2019-08-19 10:01:30 -04:00
2019-08-16 19:34:01 -04:00
2019-07-08 09:53:52 +09:00
2018-04-13 15:37:20 -04:00
2019-06-14 08:30:43 +02:00
2019-01-16 13:54:18 -05:00
2019-06-02 17:15:23 +02:00
2019-02-27 16:53:44 -05:00
2018-12-29 10:15:01 +01:00
2019-06-02 17:15:23 +02:00
2018-12-04 19:55:04 +02:00
2018-11-05 17:03:11 +01:00
2019-07-24 16:33:20 +03:00
2019-01-22 21:10:48 +00:00
2018-11-04 22:46:07 -08:00
2018-11-05 17:03:11 +01:00
2018-08-27 18:19:33 +02:00
2019-08-19 10:01:30 -04:00
2019-07-27 15:05:14 +03:00
2019-01-30 16:26:52 -05:00
2019-08-19 10:01:30 -04:00
2019-08-19 10:01:30 -04:00
2019-05-02 15:14:12 -04:00
2018-11-13 12:41:41 -08:00
2019-04-06 12:10:55 -07:00
2019-04-06 12:10:55 -07:00
2019-05-22 15:55:50 +01:00
2018-08-13 01:24:55 +02:00
2019-03-27 18:29:48 -04:00
2019-03-27 18:29:48 -04:00
2019-08-14 15:52:52 -04:00
2019-07-16 16:22:14 -04:00
2019-08-14 15:52:52 -04:00
2019-07-16 16:22:14 -04:00
2018-08-13 13:57:15 +02:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2019-07-21 21:00:31 -04:00
2019-07-21 21:00:31 -04:00
2019-01-23 16:28:27 +08:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2019-03-26 17:38:00 -07:00
2018-07-27 07:15:02 -04:00
2019-06-06 08:00:33 +02:00
2019-06-02 17:15:23 +02:00
2018-08-27 18:19:33 +02:00
2019-04-30 10:05:54 +03:00
2018-11-04 22:46:07 -08:00
2019-04-28 04:42:38 +00:00
2019-02-22 17:38:45 -08:00
2019-02-22 17:38:45 -08:00
2019-04-10 12:16:52 +01:00
2019-04-30 10:05:54 +03:00
2018-11-05 09:25:15 -08:00
2019-03-31 11:41:05 -07:00
2019-07-24 16:33:20 +03:00
2018-08-11 09:34:47 +03:00
2019-05-25 23:23:11 +02:00
2019-04-09 17:53:08 -04:00
2019-08-16 15:58:31 +02:00
2018-11-06 11:44:40 -04:00
2019-04-29 10:15:23 -04:00
2018-07-27 07:15:02 -04:00
2019-06-02 17:15:23 +02:00
2019-03-27 13:59:50 +01:00
2018-07-27 07:15:02 -04:00
2019-06-20 12:12:24 -04:00
2019-06-20 12:12:24 -04:00
2019-08-11 11:33:27 +09:00
2019-07-11 22:00:16 +02:00
2019-01-26 09:28:48 +08:00
2019-08-15 13:05:10 +02:00
2019-04-11 10:12:36 -04:00
2019-06-19 18:06:30 -04:00
2018-07-27 07:15:02 -04:00
2019-06-02 17:15:23 +02:00
2018-07-27 07:15:02 -04:00
2019-06-02 17:15:23 +02:00
2019-02-12 11:34:57 -05:00
2019-08-15 10:05:32 -04:00
2019-08-11 11:33:27 +09:00
2019-08-15 12:47:15 -04:00
2019-07-24 19:47:56 -04:00
2019-08-17 00:43:22 +09:00
2019-08-17 00:43:22 +09:00
2019-06-11 17:18:16 +02:00
2019-05-15 14:21:48 -04:00
2019-08-08 11:35:14 +09:00
2019-08-08 11:35:14 +09:00
2018-07-27 07:15:02 -04:00
2019-08-01 15:17:10 +02:00
2019-07-03 14:03:21 +02:00
2019-01-30 22:44:28 +02:00
2019-07-09 16:20:18 -04:00
2019-07-09 16:20:18 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2019-06-18 17:12:02 +02:00
2018-11-04 22:46:07 -08:00
2019-07-12 14:14:54 -04:00
2019-07-02 16:53:22 +02:00
2019-07-09 16:20:18 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2019-06-17 14:12:32 -04:00
2019-06-17 14:12:32 -04:00
2019-08-06 13:13:06 -04:00
2018-07-24 20:46:23 +01:00
2019-01-16 16:34:56 -08:00
2019-02-10 17:17:32 -05:00
2019-06-18 17:12:02 +02:00
2018-06-25 00:08:49 -04:00
2018-06-25 00:08:49 -04:00
2018-07-27 11:52:18 -07:00
2019-01-25 12:32:37 -08:00
2019-06-13 11:46:38 -04:00
2019-05-17 13:29:04 +02:00
2018-08-31 16:00:38 +02:00
2018-12-29 10:15:01 +01:00
2019-05-17 13:29:04 +02:00
2019-07-24 16:33:20 +03:00
2018-07-27 07:15:02 -04:00
2019-06-13 09:30:40 -04:00
2019-07-17 15:32:38 +01:00
2018-07-27 07:15:02 -04:00
2019-08-15 11:04:10 -04:00
2019-08-15 11:04:10 -04:00
2019-06-07 11:07:09 +02:00
2019-08-06 13:13:06 -04:00
2019-06-18 15:59:53 -04:00
2019-06-19 19:22:34 +03:00
2019-07-03 14:18:29 +02:00
2018-09-18 14:27:05 +09:00
2018-11-05 09:25:15 -08:00
2019-08-15 16:02:10 -04:00
2019-08-17 00:43:22 +09:00
2019-06-02 17:15:23 +02:00
2019-06-25 15:02:34 -04:00
2018-07-27 07:15:02 -04:00
2019-08-15 11:02:55 -04:00
2019-08-15 11:02:55 -04:00
2019-08-14 15:52:52 -04:00
2018-09-23 22:55:11 +02:00
2018-11-06 11:44:40 -04:00
2019-07-24 16:33:20 +03:00
2018-08-08 13:55:27 +02:00