Fixes #9479
This is my alternative to reverting #9240 @sipa @laanwj
I think we have to decide which one of these 3 choices we like best:
- walletnotify, zmq notification and UI notification on all transactions evicted from the mempool for any reason => merge this PR or something similar
- walletnotify, zmq notification and UI notification on only transactions evicted from the mempool due to conflicts (prior behavior) => revert #9240
- No walletnotify, zmq notification and UI notification on any transactions evicted from the mempool including due to conflicts => do nothing
I’m not sure this PR is the perfect solution, but I found txConflicted confusing, and I’m hoping this is at least a bit of a clearer overall picture.
Feedback welcome.