-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #817: Bitcoin state poller: a bug fix and a few RBF handling im…
…provements 317ab96 bitcoin: add a comment about the new spend detection logic (Antoine Poinsot) 6daf7ac poller: don't check spending status of expired coins (Antoine Poinsot) 0e5634c bitcoin: poller: document where RBF is handled for spends (Antoine Poinsot) cf7c4fb bitcoin: drop spend txid for coins whose spending tx gets RBF'd (Antoine Poinsot) 544167d bitcoin: mark coins whose spending tx got double spent as unspent again (Antoine Poinsot) f78e831 db: make it possible to mark coins back as unspent (Antoine Poinsot) c30bc8c bitcoin: optimize spend conflict confirmation lookup (Antoine Poinsot) bc25add bitcoin: don't assign incorrect spend_txid on conflict tx confirmation (Antoine Poinsot) 20ab309 qa: add a test describing current poller behaviour wrt replacements (Antoine Poinsot) Pull request description: We start by illustrating the current logic of the poller with regard to replacements in a functional test. This exposes a bug: we could incorrectly assign a transaction which conflicts with a spend transaction for one of our coin as spending this coin whereas it in fact didn't. After fixing this bug, we proceed to make it possible to wipe the spending status back to unspent. First when a conflict is mined, then also when it's only accepted into our mempool. This matches how we treat replacements for deposit transactions. ACKs for top commit: jp1ac4: ACK 317ab96. Tree-SHA512: bfad864cf03947e5d42894de12ae281a8cff10964d299df5b6b74310efbe6bbefb347349b2d421f1fb3e9470fa929fd7c2c221c9f161dd602757f75b66355ea0
- Loading branch information
Showing
6 changed files
with
230 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters