This pull request tests that interacting with a wallet while rescanning will fail with Wallet is currently rescanning. Abort existing rescan or wait.
.
I’m running a rescan for each RPC command being tested instead of only one for all to avoid intermittent failures.
Each rescan takes about 2 seconds, enough time to run the tested RPC commands simultaneously.
I added this test in feature_pruning.py
to use the large chain generated and renamed it to feature_large_chain.py
as I think it is more appropriate now.