Skip to content

test: default orphan child GetData of parent - #474

Merged
reardencode merged 2 commits into
masterfrom
test/p2p-orphan-park
Sep 13, 2026
Merged

test: default orphan child GetData of parent#474
reardencode merged 2 commits into
masterfrom
test/p2p-orphan-park

Conversation

@rearden-grok

@rearden-grok rearden-grok Bot commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Summary

Testing-audit Category B: in-tree P2P client for mempool orphan park + parent GetData (the remaining tx-relay gap after HB compact).

  • p2p_orphan_child_getdatas_parent (default, 20s wall): genesis follow, relay mempool on the follower, -maxtipage so genesis is out of IBD, missing-parent child on the live inbound writer. Asserts orphan_count() == 1 and inbound getdata bytes. Fake prevout — does not admit a parent into mempool.
  • LivePeer::queue_msg: session writer already used for INV flush; not a *_for_test backdoor.
  • Deleted: parked_orphan_getdatas_missing_parent.
  • Kept: parked_orphan_tx_is_not_logged_as_reject, parked_orphan_on_tokio_worker_getdatas_parent, inv_of_parked_orphan_does_not_getdata. Handshake feeler/self/obsolete needles and getaddr_cache_* stay.

Test plan

  • cargo test -p rbitcoin-test --test integration_multinode p2p_orphan_child_getdatas_parent
  • cargo test -p rbitcoin-test --test integration_multinode p2p_hb_compact_tip_follow
  • cargo test -p rbitcoin-test --test integration_multinode p2p_timeout_getaddr_and_keepalive_ping
  • cargo test -p rbitcoin-net parked_orphan
  • Required CI green (fmt, deny, clippy, ast-grep, test, windows, macos, multinode, coverage)

Made with Cursor

rbitcoin-grok and others added 2 commits September 12, 2026 19:53
Default follow-session journey: missing-parent child parks and the
peer GetDatas the parent. Delete the injected-frame twin. Keep log-not-reject
and tokio-worker lock pins.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@reardencode
reardencode merged commit e9fe86d into master Sep 13, 2026
16 checks passed
@rearden-grok
rearden-grok Bot deleted the test/p2p-orphan-park branch September 13, 2026 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant