Skip to content

Commit 1124c7d

Browse files
cmd/utils: clarify --snap.skip-state-snapshot-download vs --prune.mode=blocks (#20859)
Improves the `--snap.skip-state-snapshot-download` flag description to distinguish it from `--prune.mode=blocks`: both result in a node without downloaded state snapshots, but `--prune.mode=blocks` downloads them then prunes history, while this flag skips the download entirely.
1 parent 9dc5ae5 commit 1124c7d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/utils/flags.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ var (
706706
}
707707
SnapSkipStateSnapshotDownloadFlag = cli.BoolFlag{
708708
Name: "snap.skip-state-snapshot-download",
709-
Usage: "Skip state download and start from genesis block",
709+
Usage: "Skip state snapshot download and re-execute from genesis to build state. Unlike --prune.mode=blocks which downloads state snapshots then prunes history, this flag skips the download entirely.",
710710
Value: false,
711711
}
712712
SnapP2PManifestFlag = cli.BoolFlag{

0 commit comments

Comments
 (0)