HomePhabricator

test: add "diamond" unit test to MempoolAncestryTests

Description

test: add "diamond" unit test to MempoolAncestryTests

Summary:
Approaches #17271.
If ancestors are represented more than once, check that those are not
overcounted.

This is a backport of Core PR17363

Depends on D4915

Test Plan:

make check

Reviewers: #bitcoin_abc, markblundeberg

Reviewed By: #bitcoin_abc, markblundeberg

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

Details

Provenance
Sebastian Falbesoner <sebastian.falbesoner@gmail.com>Authored on Nov 4 2019, 14:05
deadalnixCommitted on Jan 13 2020, 12:21
deadalnixPushed on Jan 13 2020, 12:47
Reviewer
Restricted Project
Differential Revision
D4916: test: add "diamond" unit test to MempoolAncestryTests
Parents
rSTAGING49330c5d3cd2: scripted-diff: Remove unused first argument to addUnchecked
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/15395, tag: phabricator/base/15393