HomePhabricator

add: test that transactions expire from mempool

Description

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

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix

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

Details

Provenance
0xb10c <0xb10c@gmail.com>Authored on Jan 3 2021, 08:37
PiRKCommitted on Jan 3 2021, 08:38
abc-botPushed on Jan 3 2021, 08:44
Reviewer
Restricted Project
Differential Revision
D8766: add: test that transactions expire from mempool
Parents
rABC527cee36c452: gui: Fix race in WalletModel::pollBalanceChanged
Branches
Unknown
Tags
Unknown