mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-06 03:49:16 +02:00
Merge #18982: wallet: Minimal fix to restore conflicted transaction notifications
7eaf86d3bftrivial: Suggested cleanups to surrounding code (Russell Yanofsky)b604c5c8b5wallet: Minimal fix to restore conflicted transaction notifications (Russell Yanofsky) Pull request description: This fix is a based on the fix by Antoine Riard (ariard) in https://github.com/bitcoin/bitcoin/pull/18600. Unlike that PR, which implements some new behavior, this just restores previous wallet notification and status behavior for transactions removed from the mempool because they conflict with transactions in a block. The behavior was accidentally changed in two `CWallet::BlockConnected` updates:a31be09bfdand7e89994133from https://github.com/bitcoin/bitcoin/pull/16624, causing issue https://github.com/bitcoin/bitcoin/issues/18325. The change here could be improved and replaced with a more comprehensive cleanup, so it includes a detailed comment explaining future considerations. Fixes #18325 Co-authored-by: Antoine Riard (ariard) ACKs for top commit: jonatack: Re-ACK7eaf86d3bfariard: ACK7eaf86d, reviewed, built and ran tests. MarcoFalke: ACK7eaf86d3bf🍡 Tree-SHA512: 9a1efe975969bb522a9dd73c41064a9348887cb67883cd92c6571fd2df4321b9f4568363891abdaae14a3b9b168ef8142e95c373fc04677e46289b251fb84689
This commit is contained in:
8
doc/release-notes-18982.md
Normal file
8
doc/release-notes-18982.md
Normal file
@@ -0,0 +1,8 @@
|
||||
Notification changes
|
||||
--------------------
|
||||
|
||||
`-walletnotify` notifications are now sent for wallet transactions that are
|
||||
removed from the mempool because they conflict with a new block. These
|
||||
notifications were sent previously before the v0.19 release, but had been
|
||||
broken since that release (bug
|
||||
[#18325](https://github.com/bitcoin/bitcoin/issues/18325)).
|
||||
Reference in New Issue
Block a user