lbrycrd/test/functional/test_framework
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
..
__init__.py Rename rpc-tests directory to functional 2017-03-20 10:40:31 -04:00
address.py Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
authproxy.py [tests] Don't subclass from object for Python 3 2017-10-16 21:46:23 -04:00
bignum.py Remove unused variables and/or function calls 2017-08-28 15:18:14 +02:00
blockstore.py Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
blocktools.py Merge #11796: [tests] Functional test naming convention 2018-01-15 10:38:01 +01:00
comptool.py Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
coverage.py Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
key.py [tests] Don't subclass from object for Python 3 2017-10-16 21:46:23 -04:00
messages.py Merge #11403: SegWit wallet support 2018-01-10 20:55:41 -10:00
mininode.py Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
netutil.py Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
script.py Merge #11403: SegWit wallet support 2018-01-10 20:55:41 -10:00
segwit_addr.py Use BIP173 addresses in segwit.py test 2017-09-28 17:29:01 -07:00
siphash.py Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
socks5.py Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
test_framework.py Don't allow relative -walletdir paths 2018-01-18 15:09:27 -05:00
test_node.py Don't allow relative -walletdir paths 2018-01-18 15:09:27 -05:00
util.py qa: Sync with validationinterface queue in sync_mempools 2018-01-17 16:44:32 -05:00