Page MenuHomePhabricator

test: run mempool_reorg.py even with wallet disabled
ClosedPublic

Authored by Fabien on Nov 8 2022, 13:09.

Details

Reviewers
sdulfari
Group Reviewers
Restricted Project
Commits
rABC25936772b12a: 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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fabien requested review of this revision.Nov 8 2022, 13:09
sdulfari requested changes to this revision.Nov 8 2022, 18:09
sdulfari added a subscriber: sdulfari.
sdulfari added inline comments.
test/functional/test_framework/wallet.py
85 ↗(On Diff #36166)
This revision now requires changes to proceed.Nov 8 2022, 18:09
test/functional/test_framework/wallet.py
85 ↗(On Diff #36166)

That's one less merge conflict when backporting 22210... but not a big deal, I can go a step closer

Use **kwargs instead of adding another named param

This revision is now accepted and ready to land.Nov 9 2022, 21:26