Takes a comment to that effect and makes an assertion.
test: Don't fetch orphan parent when parent is in orphanage #29915
pull instagibbs wants to merge 1 commits into bitcoin:master from instagibbs:2024-04-parent_orphan_orphan_nofetch changing 1 files +6 −0-
instagibbs commented at 5:26 PM on April 19, 2024: member
-
DrahtBot commented at 5:26 PM on April 19, 2024: contributor
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--006a51241073e994b41acfe9ec718e94-->
Code Coverage
For detailed information about the code coverage, see the test coverage report.
<!--021abf342d371248e50ceaed478a90ca-->
Reviews
See the guideline for information on the review process. A summary of reviews will appear here.
- DrahtBot added the label Tests on Apr 19, 2024
-
test: Don't fetch orphan parent when parent is in orphanage c54066ed25
- instagibbs force-pushed on Apr 19, 2024
- DrahtBot added the label CI failed on Apr 19, 2024
-
in test/functional/p2p_orphan_handling.py:368 in c54066ed25
360 | @@ -357,9 +361,11 @@ def test_orphan_of_orphan(self): 361 | 362 | # The node should put the orphan into the orphanage and request missing_parent, skipping 363 | # missing_parent_orphan because it already has it in the orphanage. 364 | + peer.clear_getdata() 365 | self.relay_transaction(peer, orphan["tx"]) 366 | self.nodes[0].bumpmocktime(NONPREF_PEER_TX_DELAY + TXID_RELAY_DELAY) 367 | peer.wait_for_parent_requests([int(missing_parent["txid"], 16)]) 368 | + peer.assert_never_requested(int(missing_parent_orphan["txid"], 16))
glozow commented at 10:40 AM on April 22, 2024:wait_for_parent_requestsalready checks this, since it requires that the list of getdatas match exactly (nothing additional allowed)?
instagibbs commented at 3:22 PM on April 22, 2024:hmm yeah this doesn't add anything *unless it was requested in a separate
getdatawhich this check wouldn't ensure anyways.instagibbs closed this on Apr 22, 2024bitcoin locked this on Apr 22, 2025Contributors
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-17 15:13 UTC
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-17 15:13 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me