HomePhabricator

test: Add test for conflicted tx notifications

Description

test: Add test for conflicted tx notifications

Summary:
Add a couple of test for wallet notifications.

Backport notes:

  • The original PR dealt with conflicting transactions due to RBF trickery, which is not possible on the eCash blockchain. So the test is different, we simply create conflicting transactions while the nodes are disconnected.
  • In the original PR, the test for conflicting transactions does not work correctly. We do not observe the same bug. There is a notification for the conflicting transaction, as expected.

This is a backport of core#18878

Test Plan: ninja check-functional

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D9972

Details

Provenance
Russell Yanofsky <russ@yanofsky.org>Authored on Aug 30 2021, 11:54
PiRKCommitted on Aug 30 2021, 11:55
PiRKPushed on Aug 30 2021, 11:55
Reviewer
Restricted Project
Differential Revision
D9972: test: Add test for conflicted tx notifications
Parents
rABC62401bcf2f00: refactor: Fix clang compile failure
Branches
Unknown
Tags
Unknown