dash/test/functional/test_framework
Wladimir J. van der Laan ac01dbee63 Merge #15235: Do not import private keys to wallets with private keys disabled
e6c58d3b014ab8ef5cca4be68764af4b79685fcb Do not import private keys to wallets with private keys disabled (Andrew Chow)
b5c5021b644731d14a6ef04961320a99466f035a Refactor importwallet to extract data from the file and then import (Andrew Chow)
1f77f6754ce724493b0cb084ae0b35107d58605f tests: unify RPC argument to cli argument conversion and handle dicts and lists (Andrew Chow)

Pull request description:

  Fixes a bug where private keys could be imported to wallets with private keys disabled. Now every RPC which can import private keys checks for whether the wallet has private keys are disabled and errors if it is. Also added an belt-and-suspenders check to `AddKeyPubkeyWithDB` to have it assert that the wallet has private keys enabled.

Tree-SHA512: 5cd04febce9aa2bd9bfd02f312c6ff8705e37278cae59efd3895f6d6e2f1b477aefd297e2dd0860791bdd3d4f3cad8eb1a404f8f3d4e2035b91314ad2c1028ae

dash changes
2021-08-16 23:56:13 -03:00
..
__init__.py Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00
address.py Partial merge #8499: Add several policy limits and disable uncompressed keys for segwit scripts 2021-06-05 22:12:55 +03:00
authproxy.py Merge #15772: test: Properly log named args in authproxy 2021-07-10 12:10:51 -05:00
bignum.py Merge #10781: Python cleanups 2020-01-02 22:01:29 -06:00
blocktools.py Merge #13954: Warn (don't fail!) on spelling errors. Fix typos reported by codespell. 2021-07-19 12:51:24 -05:00
coverage.py Some Dashification (#3513) 2020-06-11 11:39:04 +03:00
key.py Partial merge #8499: Add several policy limits and disable uncompressed keys for segwit scripts 2021-06-05 22:12:55 +03:00
messages.py Merge #14305: Tests: enforce critical class instance attributes in functional tests, fix segwit test specificity 2021-08-04 00:21:42 -03:00
mininode.py Merge #16470: test: Fail early on disconnect in mininode.wait_for_* 2021-08-11 13:58:48 -04:00
netutil.py Merge bitcoin/bitcoin#22103: test: Fix IPv6 check on BSD systems 2021-07-15 16:01:43 -05:00
script.py Merge pull request #4303 from linuxsh2/backport/batch-1 2021-08-06 16:23:59 -05:00
siphash.py Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00
socks5.py Merge #12987: tests/tools: Enable additional Python flake8 rules for automatic linting via Travis 2020-07-22 12:12:46 -05:00
test_framework.py Merge #14805: tests: Support calling add_nodes more than once 2021-08-03 18:38:21 -03:00
test_node.py Merge #15235: Do not import private keys to wallets with private keys disabled 2021-08-16 23:56:13 -03:00
util.py Merge #16646: qa: Run tests with UPnP disabled 2021-08-11 13:58:48 -04:00