This is a backport of core#16528 [43b/43]
https://github.com/bitcoin/bitcoin/pull/16528/commits/223588b1bbc63dc57098bbd0baa48635e0cc0b82
This is the second part of the backport started in D10213, addressing
two of the remaining tests:
- wallet_basic.py
- wallet_keypool.py
These 2 tests requires some additional changes to adjust fees and
amounts, as descriptor wallets can produce larger p2sh outputs
were previously the tests was producing p2pkh ouputs.
The remaining test requires some fixing before it can be backported.
Depends on D10213