Page MenuHomePhabricator

add: test that transactions expire from mempool
ClosedPublic

Authored by PiRK on Jan 2 2021, 09:14.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Commits
rABC7f8780957e52: add: test that transactions expire from mempool
Summary

This tests that a mempool transaction expires after a given timeout
and its children are removed as well.

Both the default expiry timeout defied by DEFAULT_MEMPOOL_EXPIRY and
a user definable expiry timeout via the -mempoolexpiry=<n> command
line argument (<n> is the timeout in hours) are tested.

This is a backport of Core PR18172

Test Plan

ninja && test/functional/test_runner.py mempool_expiry

Diff Detail

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

Event Timeline

PiRK requested review of this revision.Jan 2 2021, 09:14
deadalnix added a subscriber: deadalnix.

More tests, always a win.

This revision is now accepted and ready to land.Jan 2 2021, 19:04