aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p_segwit.py
diff options
context:
space:
mode:
authorSebastian Falbesoner <sebastian.falbesoner@gmail.com>2019-11-13 03:55:48 +0100
committerSebastian Falbesoner <sebastian.falbesoner@gmail.com>2020-02-27 00:24:33 +0100
commitb902bd66b0f35c5016dc5d7aaf501940935edd62 (patch)
tree939b654848aa24ad9cc53ab826f28a4328ca356f /test/functional/p2p_segwit.py
parente5d47ed8fd3724cc5295fca70573f1edf552ff62 (diff)
downloadbitcoin-b902bd66b0f35c5016dc5d7aaf501940935edd62.tar.xz
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 'test/functional/p2p_segwit.py')
0 files changed, 0 insertions, 0 deletions