Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bitcoind: fix the detection of unconfirmed RBF spending txs #627

Merged

Conversation

darosior
Copy link
Member

@darosior darosior commented Aug 22, 2023

As we walk through the spend transactions in the wallet, we may return the txid of the transaction that was replaced instead of the new one.

Note: this fixes the test_conflicting_unconfirmed_spend_txs flakiness, which exposed this bug.

As we walk through the spend transactions in the wallet, we may return
the txid of the transaction that was replaced instead of the new one.
@darosior darosior force-pushed the 2308_fix_rbfd_spending_detection branch from e722480 to 421c1af Compare August 22, 2023 14:49
@darosior
Copy link
Member Author

Rebased after #628.

@darosior
Copy link
Member Author

ACK 421c1af -- tested it locally by running the test_conflicting_unconfirmed_spend_txs functional test around a thousand times.

@darosior darosior merged commit 031dd45 into wizardsardine:master Aug 22, 2023
18 checks passed
@darosior darosior deleted the 2308_fix_rbfd_spending_detection branch August 22, 2023 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant