From 78f1d01a8276c356bb75a3ebb09ea8d322c8d124 Mon Sep 17 00:00:00 2001 From: Alex Sharov Date: Wed, 18 May 2022 13:50:28 +0700 Subject: [PATCH] Update readme.md (#4192) --- cmd/downloader/readme.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/cmd/downloader/readme.md b/cmd/downloader/readme.md index 7d2b48c01..8861dff58 100644 --- a/cmd/downloader/readme.md +++ b/cmd/downloader/readme.md @@ -50,9 +50,17 @@ downloader torrent_hashes --rebuild --datadir= # Start downloader (seeds automatically) downloader --downloader.api.addr=127.0.0.1:9093 --datadir= -# Erigon is not required for snapshots seeding +# Erigon is not required for snapshots seeding. But Erigon with --syncmode=snap also does seeding. +``` -# But Erigon can use snapshots only after indexing them (this step is not required for seeding) +Additional info: +```shell +# Snapshots creation does not require fully-synced Erigon - few first stages enough. For example: +STOP_BEFORE_STAGE=Execution ./build/bin/erigon --syncmode=full --datadir= +# But for security - better have fully-synced Erigon + + +# Erigon can use snapshots only after indexing them. Erigon will automatically index them but also can run (this step is not required for seeding): erigon snapshots index --datadir= ```