What changed, and why it matters
This commit simply removes two unused variables from a single test file. It does not change any production code, network behavior, or security logic. There is no security relevance.
Recommended action
No action needed; this is a routine cleanup commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit deletes the constants CUSTOM_ANCESTOR_COUNT and CUSTOM_DESCENDANT_COUNT from test/functional/mempool_updatefromblock.py, noting they became unused after a prior commit. This is a pure test-code cleanup with no functional or security impact.
Changed components
test/functional/mempool_updatefromblock.pyInspect captured patch +0 / −3
diff --git a/test/functional/mempool_updatefromblock.py b/test/functional/mempool_updatefromblock.py
index 11571f6f..a5b2b6ce 100755
--- a/test/functional/mempool_updatefromblock.py
+++ b/test/functional/mempool_updatefromblock.py
@@ -19,9 +19,6 @@ from test_framework.mempool_util import DEFAULT_CLUSTER_LIMIT
MAX_DISCONNECTED_TX_POOL_BYTES = 20_000_000
-CUSTOM_ANCESTOR_COUNT = 100
-CUSTOM_DESCENDANT_COUNT = CUSTOM_ANCESTOR_COUNT
-
class MempoolUpdateFromBlockTest(BitcoinTestFramework):
def set_test_params(self):
self.num_nodes = 1
Risk score
Our methodology →Why this scored 15/100
Human-validated context
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
No validated notes yet.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.