diff options
| author | Sebastian Falbesoner <[email protected]> | 2019-11-13 03:55:48 +0100 |
|---|---|---|
| committer | Sebastian Falbesoner <[email protected]> | 2020-02-27 00:24:33 +0100 |
| commit | b902bd66b0f35c5016dc5d7aaf501940935edd62 (patch) | |
| tree | 939b654848aa24ad9cc53ab826f28a4328ca356f /src/validationinterface.cpp | |
| parent | Merge #18167: Fix a violation of C++ standard rules where unions are used for... (diff) | |
| download | discoin-b902bd66b0f35c5016dc5d7aaf501940935edd62.tar.xz discoin-b902bd66b0f35c5016dc5d7aaf501940935edd62.zip | |
test: check custom descendant limit in mempool_packages.py
To test the custom descendant limit on node1 (passed by the argument
-limitdescendantcount), we check for four conditions:
-> the # of txs in the node1 mempool is equal to the limit
(plus 1 for the parent tx, plus the # txs from the previous ancestor
test which are still in)
-> all txs in node1 mempool are a subset of txs in node0 mempool
-> part of the constructed descendant-chain (the first ones up to the
limit) are contained in node1 mempool
-> the remaining part of the constructed descendant-chain (all after the
first ones up to the limit) is *not* contained in node1 mempool
Diffstat (limited to 'src/validationinterface.cpp')
0 files changed, 0 insertions, 0 deletions