HomePhabricator

test: check custom ancestor limit in mempool_packages.py

Description

test: check custom ancestor limit in mempool_packages.py

Summary:

To test the custom ancestor limit on node1 (passed by the argument
-limitancestorcount), we check for three conditions:

-> the # of txs in the node1 mempool is equal to the the limit
-> all txs in node1 mempool are a subset of txs in node0 mempool
-> the node1 mempool txs match the start of the constructed tx-chain

This is a backport of Core PR17435

Test Plan: ninja && test/functional/test_runner.py mempool_packages.py

Reviewers: O1 Bitcoin ABC, #bitcoin_abc, majcosta

Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, majcosta

Subscribers: majcosta

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

Details

Provenance
Sebastian Falbesoner <sebastian.falbesoner@gmail.com>Authored on Nov 4 2020, 20:04
PiRKCommitted on Nov 4 2020, 20:04
abc-botPushed on Nov 4 2020, 20:07
Reviewer
Restricted Owners Package
Differential Revision
D8262: test: check custom ancestor limit in mempool_packages.py
Parents
rABC06cb9dd7803e: Add util_ArgParsing test
Branches
Unknown
Tags
Unknown