Skip to content

Add --onlycdn flag to only sync from CDN#4258

Draft
vicsn wants to merge 1 commit into
stagingfrom
perpetual-cdn
Draft

Add --onlycdn flag to only sync from CDN#4258
vicsn wants to merge 1 commit into
stagingfrom
perpetual-cdn

Conversation

@vicsn

@vicsn vicsn commented May 8, 2026

Copy link
Copy Markdown
Collaborator

Motivation

When P2P sync experiences issues, this allows a node to purely use the CDN.

Test Plan

  • We should test this as tip on a synced testnet client

@vicsn vicsn requested a review from kaimast May 8, 2026 15:55
@kaimast

kaimast commented May 8, 2026

Copy link
Copy Markdown
Contributor

This still uses p2p/bft sync after the initial CDN sync is successful, right? Maybe something like --force-cdn or --retry-cdn-sync would explain the functionality better?

@vicsn

vicsn commented May 13, 2026

Copy link
Copy Markdown
Collaborator Author

The goal was to only use CDN, but converting to draft because I'm not sure we'll actually want to promote sole reliance on the CDN

@vicsn vicsn marked this pull request as draft May 13, 2026 19:04
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