Skip to content

dgb: walk-forward getheaders — embedded sync past 2000-header cap - #257

Merged
frstrtr merged 1 commit into
masterfrom
dgb/p2p-walk-forward-getheaders
Jun 20, 2026
Merged

dgb: walk-forward getheaders — embedded sync past 2000-header cap#257
frstrtr merged 1 commit into
masterfrom
dgb/p2p-walk-forward-getheaders

Conversation

@frstrtr

@frstrtr frstrtr commented Jun 20, 2026

Copy link
Copy Markdown
Owner

Phase B (NodeP2P producer follow-up to #256). The producer fired new_headers per batch but never re-requested, stalling initial header sync at the per-message 2000-header cap. On a full (non-announcement) batch this re-issues getheaders anchored on the last header received; the loop terminates when the peer returns a short/empty batch (caught up).

Scope: src/impl/dgb/coin/p2p_node.hpp only — producer transport, non-consensus, single-coin. Build c2pool-dgb EXIT=0. HOLD merge (operator tap).

…er cap

The NodeP2P producer fired new_headers on each batch but never
re-requested, stalling initial sync at the per-message 2000-header
cap. On a full (non-announcement) batch, re-issue getheaders anchored
on the last header received; the loop terminates when the peer returns
a short/empty batch (caught up). Producer-transport only, non-consensus.
@frstrtr
frstrtr merged commit eb9e215 into master Jun 20, 2026
27 checks passed
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