Replace all wallet-related functionality in test/functional/mempool_accept.py
to use MiniWallet instead of the wallet built with Bitcoin Core. This allows the test to run even if Bitcoin Core was compiled with --disable-wallet
.
Work on mempool_accept.py
started in #21014, but it has been inactive for some time. This PR also makes use of additional features like scan_blocks()
and create_self_transfer()
that were added to MiniWallet.
To test this PR, build Bitcoin Core with(out) the wallet and run:
0$ test/functional/mempool_accept.py