HomePhabricator

Merge bitcoin/bitcoin#27177: test: fix intermittent issue in…

Description

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

Details

Provenance
Andrew Chow <github@achow101.com>Authored on May 23 2023, 19:40
roqqitCommitted on Oct 10 2024, 21:51
roqqitPushed on Oct 10 2024, 21:51
Reviewer
Restricted Owners Package
Differential Revision
D16888: Merge bitcoin/bitcoin#27177: test: fix intermittent issue in `feature_bip68_sequence`
Parents
rABCf04553696cad: [chronik] Gracefully handle invalidated block with no undo data
Branches
Unknown
Tags
Unknown