Skip to content

docs: download node snapshots from rpc.xdc.network/snapshots - #41

Merged
AnilChinchawale merged 1 commit into
XinFinOrg:mainfrom
nghiangovan:docs/update-snapshot-endpoint
Oct 21, 2026
Merged

AnilChinchawale merged 1 commit into
XinFinOrg:mainfrom
nghiangovan:docs/update-snapshot-endpoint

Conversation

@nghiangovan

@nghiangovan nghiangovan commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #22, which only updated the first mainnet snapshot links. Both node operator pages still pointed to the legacy snapshot hosts (download.xinfin.network, downloads.xinfin.network, downloads.apothem.network) and used tar -xvzf, which does not match the published archives (see Snapshot standardisation).

This PR switches masternode.md and docker.md to the official endpoint https://rpc.xdc.network/snapshots:

  • Mainnet/Apothem Full and Archive snapshots now use the *_latest.tar.lz4 files, downloaded with wget -c (resumable) and extracted with lz4 -d -c … | tar -xvf -.
  • Adds the one-command downloader (curl -fsSL https://rpc.xdc.network/download | bash, run in tmux) as the recommended option, with a note on the download statistics it sends.
  • Fixes inconsistent file names (xdc.tar, apothem.tar), http:// links and the outdated "every 20 days" note.
  • Apothem steps now back up the old XDC directory and remove nodekey, like the Mainnet steps.
  • docker.md keeps its docker-down.sh / docker-up.sh commands; headings used as anchors in mkdocs.yml are unchanged.

Test plan

  • All four *_latest.tar.lz4 URLs return 206 for a Range request.
  • Streamed the mainnet full and testnet full archives: both have an XDC/ root, matching the mv steps.
  • mkdocs build succeeds; #mainnet-snapshot, #apothem-snapshot and #setup-xdc-masternodefull-nodestandby-node-using-snapshots anchors exist.
  • No remaining references to the legacy hosts or tar -xvzf under docs/.

@coderabbitai

coderabbitai Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 23354d05-292f-4146-93f3-3338f82b949e
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Replace the legacy download.xinfin.network / downloads.apothem.network snapshot
URLs with the .tar.lz4 files at https://rpc.xdc.network/snapshots, extract them
with lz4, and document the one-command downloader (including its telemetry).
@nghiangovan
nghiangovan force-pushed the docs/update-snapshot-endpoint branch from 0b6deae to cae8bfe Compare October 21, 2026 07:31
@AnilChinchawale
AnilChinchawale merged commit 40802c0 into XinFinOrg:main Oct 21, 2026
2 of 3 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.

2 participants