Merge bitcoin/bitcoin#27177: test: fix intermittent issue in feature_bip68_sequence
Summary:
272eb5561667482f8226bcf98eea00689dccefb8 test: fix include_immature_coinbase logic in get_utxos (brunoerg)
a951c34f179dad0c7059b04a7f1e6b0804462168 test: fix interface_usdt_mempool by mining a block after each test (brunoerg)
1557bf1196bc2bdf00fd32f3b5d525796b4d194c test: fix mature utxos addition to wallet in mempool_package_limits (brunoerg)
60ced9007d518d542ce489b91076f9bbaf3312e3 test: fix intermittent issue in feature_bip68_sequence (brunoerg)
Pull request description:
Fixes #27129 To avoid `bad-txns-premature-spend-of-coinbase` error, when getting a utxo (using `get_utxo`) to create a new transaction `get_utxo` shouldn't return (if possible) by default immature coinbase.
Partial backport of core#27177
Test Plan:
ninja check-functional for I in {1..30}; do ./test/functional/test_runner.py feature_bip68_sequence.py
Reviewers: O1 Bitcoin ABC, #bitcoin_abc, Fabien
Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, Fabien
Differential Revision: https://reviews.bitcoinabc.org/D16888