Russell Yanofsky
ec527c6c88
Don't allow relative -walletdir paths
...
Also warn if bitcoind is configured to use a relative -datadir path.
Specifying paths relative to the current working directory in a daemon process
can be dangerous, because files can fail to be located even if the
configuration doesn't change, but the daemon is started up differently.
Specifying a relative -datadir now adds a warning to the debug log. It would
not be backwards-compatible to forbid relative -datadir paths entirely, and it
could also be also inconvenient for command line testing.
Specifying a relative -walletdir now results in a startup error. But since the
-walletdir option is new in 0.16.0, there should be no compatibility issues.
Another reason not to use working directory paths for -walletdir specifically
is that the default -walletdir is a "wallets" subdirectory inside the datadir,
so it could be surprising that setting -walletdir manually would choose a
directory rooted in a completely different location.
2018-01-18 15:09:27 -05:00
..
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-10 20:55:41 -10:00
2018-01-03 02:26:56 +09:00
2018-01-17 13:23:26 -05:00
2018-01-18 15:05:40 +01:00
2018-01-10 20:55:41 -10:00
2018-01-03 02:26:56 +09:00
2018-01-15 15:36:35 +01:00
2017-12-19 16:44:57 -05:00
2018-01-18 15:09:27 -05:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2017-11-16 08:23:01 +13:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-12 11:22:54 +00:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2017-11-16 08:23:01 +13:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-18 15:09:27 -05:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-10 20:55:41 -10:00
2018-01-10 20:55:41 -10:00
2018-01-03 02:26:56 +09:00
2017-11-18 00:50:58 +13:00
2017-11-17 14:04:02 +01:00
2017-12-23 11:22:18 +01:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-13 15:57:30 -05:00
2018-01-13 15:57:30 -05:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-09 08:59:21 -05:00
2018-01-15 15:36:35 +01:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-16 19:05:46 +13:00
2018-01-16 19:05:46 +13:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00
2018-01-03 02:26:56 +09:00