aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/main.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-06-08 18:12:13 +0800
committerobscuren <geffobscura@gmail.com>2015-06-09 00:33:43 +0800
commit6244b10a8f74d92addf977994e5a9c0e457229bb (patch)
tree30ad7e939d001e8a1400b76e4403546777c9f3aa /cmd/geth/main.go
parentc6faa18ec9630066683548ed410e364555fd838d (diff)
downloaddexon-6244b10a8f74d92addf977994e5a9c0e457229bb.tar
dexon-6244b10a8f74d92addf977994e5a9c0e457229bb.tar.gz
dexon-6244b10a8f74d92addf977994e5a9c0e457229bb.tar.bz2
dexon-6244b10a8f74d92addf977994e5a9c0e457229bb.tar.lz
dexon-6244b10a8f74d92addf977994e5a9c0e457229bb.tar.xz
dexon-6244b10a8f74d92addf977994e5a9c0e457229bb.tar.zst
dexon-6244b10a8f74d92addf977994e5a9c0e457229bb.zip
core: settable genesis nonce
You can set the nonce of the block with `--genesisnonce`. When the genesis nonce changes and it doesn't match with the first block in your database it will fail. A new `datadir` must be given if the nonce of the genesis block changes.
Diffstat (limited to 'cmd/geth/main.go')
-rw-r--r--cmd/geth/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go
index c30792158..ff51bcfd4 100644
--- a/cmd/geth/main.go
+++ b/cmd/geth/main.go
@@ -218,6 +218,7 @@ JavaScript API. See https://github.com/ethereum/go-ethereum/wiki/Javascipt-Conso
utils.IdentityFlag,
utils.UnlockedAccountFlag,
utils.PasswordFileFlag,
+ utils.GenesisNonceFlag,
utils.BootnodesFlag,
utils.DataDirFlag,
utils.BlockchainVersionFlag,