Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new cli command to download public node snapshots #13469

Open
joshieDo opened this issue Dec 20, 2024 · 6 comments · May be fixed by #13598
Open

Add new cli command to download public node snapshots #13469

joshieDo opened this issue Dec 20, 2024 · 6 comments · May be fixed by #13598
Assignees
Labels
A-cli Related to the reth CLI C-enhancement New feature or request D-good-first-issue Nice and easy! A great choice to get started

Comments

@joshieDo
Copy link
Collaborator

joshieDo commented Dec 20, 2024

Describe the feature

It would be nice to have a dedicated command that only given a chain and datadir it would automatically download a public available snapshot into disk (example below).

Usage example:
reth download
reth download --chain holesky
reth download --chain holesky --datadir holesky-node
reth download --chain holesky --datadir holesky-node --url https://downloads.merkle.io/reth-2024-10-23.tar.lz4

Publicly available snapshots (both .tar.lz4):
https://snapshots.merkle.io/
https://publicnode.com/snapshots

Additional context

No response

@joshieDo joshieDo added A-cli Related to the reth CLI C-enhancement New feature or request D-good-first-issue Nice and easy! A great choice to get started labels Dec 20, 2024
@lean-apple
Copy link
Contributor

Hello, can I work on it ?

@joshieDo joshieDo assigned joshieDo and lean-apple and unassigned joshieDo Dec 20, 2024
@PedroRosalba
Copy link

Let me handle this issue!

@mrabino1
Copy link

in an ideal world, one would point to a currently running live totally sync'ed node and "trust" that node to generate a stream of a then current snapshot. point being is to not constrain ourselves to external snapshots but also trusted sister nodes that are already sync'ed.

@ABD-AZE
Copy link
Contributor

ABD-AZE commented Dec 27, 2024

@lean-apple are you still working on this?

@lean-apple
Copy link
Contributor

@lean-apple are you still working on this?

Yes Im working on it, will open a PR soon.

@mymiracle0118
Copy link

Would love to tackle this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-cli Related to the reth CLI C-enhancement New feature or request D-good-first-issue Nice and easy! A great choice to get started
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

6 participants