mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-10 22:36:01 +00:00
add quickStart option that avoids network metadata
This commit is contained in:
parent
c619b9557a
commit
ab2cce3951
@ -164,6 +164,7 @@ proc init*(T: type BeaconNode, conf: BeaconNodeConf): Future[BeaconNode] {.async
|
||||
stderr.write args, "\n"
|
||||
quit 1
|
||||
|
||||
if not conf.quickStart:
|
||||
case conf.network
|
||||
of "mainnet":
|
||||
fail "The Serenity mainnet hasn't been launched yet"
|
||||
|
@ -31,6 +31,10 @@ type
|
||||
shortform: "n"
|
||||
defaultValue: DEFAULT_NETWORK .}: string
|
||||
|
||||
quickStart* {.
|
||||
desc: "Run in quickstart mode",
|
||||
defaultValue: false.}: bool
|
||||
|
||||
dataDir* {.
|
||||
desc: "The directory where nimbus will store all blockchain data."
|
||||
shortform: "d"
|
||||
|
Loading…
x
Reference in New Issue
Block a user