Skip to content

PIBD peers fix#3823

Open
ardocrat wants to merge 7 commits intomimblewimble:masterfrom
ardocrat:pibd_peers_fix
Open

PIBD peers fix#3823
ardocrat wants to merge 7 commits intomimblewimble:masterfrom
ardocrat:pibd_peers_fix

Conversation

@ardocrat
Copy link
Copy Markdown
Contributor

@ardocrat ardocrat commented Mar 30, 2026

  • choose peers based on minimal height (minimal 2 blocks behind max tip)

  • temporary block peers for stale segments disconnecting only outbound:

    • 1st time for 1 min.,
    • 2nd time for 3 min.,
    • 3rd time for 10min.,

    (Actual only for inbound, outbound resetting counter after reconnect)

  • force request for output and rangeproof segments to avoid stuck

  • do not check for max cached segments on selecting next desired segment for request (stuck happened when peer got disconnected and we reached max segments cache size, so not tried to make another request).

@syntaxjak
Copy link
Copy Markdown

IMG_5687

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.

2 participants