diff options
author | Andrew Chow <achow101-github@achow101.com> | 2021-07-18 23:06:08 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2021-07-19 12:25:11 -0400 |
commit | 9b85a5e2f7e003ca8621feaac9bdd304d19081b4 (patch) | |
tree | 20d5936850ecd2ae274cf30eb03b43110addce56 /test/functional/rpc_packages.py | |
parent | 25d99e6511d8c43b2025a89bcd8295de755346a7 (diff) |
tests: Test for dumpwallet lock order issue
Adds a test for the condition which can trigger a lock order assertion.
Specifically, there must be an unconfirmed transaction in the mempool
which belongs to the wallet being loaded. This will establish the order
of cs_wallet -> cs_main -> cs_KeyStore. Then dumpwallet is called on
that wallet. Previously, this would have used a lock order of cs_wallet
-> cs_KeyStore -> cs_main, but this should be fixed now. The test
ensures that.
Diffstat (limited to 'test/functional/rpc_packages.py')
0 files changed, 0 insertions, 0 deletions