mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 22:26:42 +00:00
cmd/geth: add network flags to download-era
This commit is contained in:
parent
05ddfe6dce
commit
b9bd298fba
1 changed files with 10 additions and 6 deletions
|
|
@ -211,12 +211,16 @@ helps reduce storage requirements for nodes that don't need full historical data
|
|||
Name: "download-era",
|
||||
Usage: "Fetches era1 files (pre-merge history) from an HTTP endpoint",
|
||||
ArgsUsage: "",
|
||||
Flags: slices.Concat(utils.DatabaseFlags, []cli.Flag{
|
||||
Flags: slices.Concat(
|
||||
utils.DatabaseFlags,
|
||||
utils.NetworkFlags,
|
||||
[]cli.Flag{
|
||||
eraBlockFlag,
|
||||
eraEpochFlag,
|
||||
eraAllFlag,
|
||||
eraServerFlag,
|
||||
}),
|
||||
},
|
||||
),
|
||||
}
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue