HomePhabricator

[backport#15646] [tests] Add test for wallet rebroadcasts

Description

[backport#15646] [tests] Add test for wallet rebroadcasts

Summary:
The existing wallet_resendwallettransactions.py test only tests the
resendwallettransactions RPC. It does not test whether transactions are
actually rebroadcast, or whether the rebroadcast logic is called on a
timer.

This commit updates the test to not use the resendwallettransactions RPC and
test that transactions are rebroadcast on a timer.


This is a backport of Core PR15646

Test Plan:

cmake .. -GNinja
./test/functional/test_runner.py wallet_resendwallettransactions.py

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

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

Details

Provenance
John Newbery <john@johnnewbery.com>Authored on Mar 22 2019, 18:04
majcostaCommitted on May 4 2020, 17:45
majcostaPushed on May 4 2020, 17:46
Reviewer
Restricted Project
Differential Revision
D5947: [backport#15646] [tests] Add test for wallet rebroadcasts
Parents
rABCe55251f4329b: Finish PR14987 and clean up some functions
Branches
Unknown
Tags
Unknown