HomePhabricator

test: run mempool_reorg.py even with wallet disabled

Description

test: run mempool_reorg.py even with wallet disabled

Summary:

- run mempool_reorg.py even when the wallet is not compiled
- add `locktime` argument to `create_self_transfer` and `send_self_transfer`
- use more logs instead of comments

Backport of core#21178.

Depends on D12434.

Note that in the source material the locktime is not passed down from
send_self_transfer to create_self_transfer which is an obvious oversight.
This is silently fixed in core#22210 but I also fixed it in this diff.

Test Plan:

./test/functional/test_runner.py mempool_reorg

Reviewers: #bitcoin_abc, sdulfari

Reviewed By: #bitcoin_abc, sdulfari

Subscribers: sdulfari

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

Details

Provenance
Darius Parvin <darius@berkeley.edu>Authored on May 31 2021, 16:28
FabienCommitted on Nov 10 2022, 07:49
FabienPushed on Nov 10 2022, 07:49
Reviewer
Restricted Project
Differential Revision
D12435: test: run mempool_reorg.py even with wallet disabled
Parents
rABCde67faa41fd2: [Automated] Update timing.json
Branches
Unknown
Tags
Unknown