BIP-431: clarify Rule 3 to enforce cluster size 2 and fix inclusive counting #2012
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This change resolves an internal inconsistency in BIP-431 between Rule 3 and the “Related Work” section (and linked Core PRs) that assume clusters of at most size 2 for TRUC. Previously, Rule 3 allowed up to one unconfirmed ancestor and one unconfirmed descendant simultaneously, which permits a 3-transaction cluster (parent → tx → child). However, “Related Work” states “1-parent-1-child (aka cluster size 2)” and references features that rely on maximum cluster size 2 (feerate diagrams: PR 29242; package RBF: PR 28984; sibling eviction: PR 29306).
what is the problem:
Rule 3 allowed “≤1 ancestor” and “≤1 descendant” at the same time, enabling a chain of three unconfirmed transactions.
“Related Work” asserts “1-parent-1-child (aka cluster size 2)” and the referenced PRs constrain features to clusters of size ≤2, which is incompatible with a size-3 cluster.