mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
feat(download): use snapshots.reth.rs API with --list and --channel flags (#22859)
This commit is contained in:
@@ -115,12 +115,15 @@ Storage:
|
||||
-u, --url <URL>
|
||||
Specify a snapshot URL or let the command propose a default one.
|
||||
|
||||
Browse available snapshots at https://snapshots.reth.rs
|
||||
or use --list-snapshots to see them from the CLI.
|
||||
|
||||
Available snapshot sources:
|
||||
- https://www.merkle.io/snapshots (default, mainnet archive)
|
||||
- https://snapshots.reth.rs (default)
|
||||
- https://publicnode.com/snapshots (full nodes & testnets)
|
||||
|
||||
If no URL is provided, the latest archive snapshot for the selected chain
|
||||
will be proposed for download from https://downloads.merkle.io.
|
||||
will be proposed for download from https://snapshots-r2.reth.rs.
|
||||
|
||||
Local file:// URLs are also supported for extracting snapshots from disk.
|
||||
|
||||
@@ -168,6 +171,11 @@ Storage:
|
||||
|
||||
[default: 8]
|
||||
|
||||
--list
|
||||
List available snapshots from snapshots.reth.rs and exit.
|
||||
|
||||
Queries the snapshots API and prints all available snapshots for the selected chain, including block number, size, and manifest URL.
|
||||
|
||||
Logging:
|
||||
--log.stdout.format <FORMAT>
|
||||
The format to use for logs written to stdout
|
||||
|
||||
Reference in New Issue
Block a user