What changed, and why it matters
This commit fixes two spelling mistakes in code comments and test documentation. One changes 'possibile' to 'possible' and the other changes 'returned' to 'return'. There are no code behavior changes, no security fixes, and no functional modifications.
No security action needed. This is a documentation/typo cleanup commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff is purely cosmetic: two typo corrections inside C++ and Python comments. No executable logic, data structures, parsing, network handling, or cryptographic operations are modified. The changes do not affect compilation, runtime behavior, or test outcomes.
Changed components
src/test/fuzz/txorphan.cpp (comment only)test/functional/p2p_compactblocks.py (comment only)Inspect captured patch +2 / −2
diff --git a/src/test/fuzz/txorphan.cpp b/src/test/fuzz/txorphan.cpp
index e6b34447..b6a6d855 100644
--- a/src/test/fuzz/txorphan.cpp
+++ b/src/test/fuzz/txorphan.cpp
@@ -146,7 +146,7 @@ FUZZ_TARGET(txorphan, .init = initialize_orphanage)
Assert(orphanage->TotalOrphanUsage() <= total_bytes_start);
}
}
- // We are not guaranteed to have_tx after AddTx. There are a few possibile reasons:
+ // We are not guaranteed to have_tx after AddTx. There are a few possible reasons:
// - tx itself exceeds the per-peer memory usage limit, so LimitOrphans had to remove it immediately
// - tx itself exceeds the per-peer latency score limit, so LimitOrphans had to remove it immediately
// - the orphanage needed trim and all other announcements from this peer are reconsiderable
diff --git a/test/functional/p2p_compactblocks.py b/test/functional/p2p_compactblocks.py
index 80041e2b..56186bc1 100755
--- a/test/functional/p2p_compactblocks.py
+++ b/test/functional/p2p_compactblocks.py
@@ -744,7 +744,7 @@ class CompactBlocksTest(BitcoinTestFramework):
assert_not_equal(node.getbestblockhash(), block.hash_hex)
test_node.sync_with_ping()
- # The failure above was cached. Submitting the compact block again will returned a cached
+ # The failure above was cached. Submitting the compact block again will return a cached
# consensus error (the code path is different) and still not get us disconnected (nor
# advance the tip).
test_node.send_and_ping(msg)
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.