Uh oh!
There was an error while loading. Please reload this page.
feat: add request_block_headers_from_peer to RequestSender - #489
feat: add request_block_headers_from_peer to RequestSender#489xdustinface wants to merge 2 commits into
request_block_headers_from_peer to RequestSender#489Conversation
Deduplicate `GetHeaders` → `GetHeaders2` upgrade logic from `send_to_single_peer` and `send_distributed` into a shared `send_message_to_peer` method.
Add `SendMessageToPeer` variant to `NetworkRequest` and `request_block_headers_from_peer` to `RequestSender` so sync managers can request block headers from specific peers.
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This PR has merge conflicts with the base branch. Please rebase or merge the base branch into your branch to resolve them. |
xdustinface
commented
Apr 6, 2026
Part of #490 now. |
Add
SendMessageToPeervariant toNetworkRequestandrequest_block_headers_from_peertoRequestSenderso sync managers can request block headers from specific peers.Based on:
send_message_to_peerhelper #488