diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-07-07 21:04:34 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-07-15 21:52:55 +0800 |
commit | 6060e098c929792f455d7f580ed91e914d28cf3b (patch) | |
tree | 1518c9572c5c5609069e6d6c8d03fdf261fd4ad8 /cmd/geth/main.go | |
parent | aa1e052cb41c39363a9930added46dac5b6db832 (diff) | |
download | go-tangerine-6060e098c929792f455d7f580ed91e914d28cf3b.tar.gz go-tangerine-6060e098c929792f455d7f580ed91e914d28cf3b.tar.zst go-tangerine-6060e098c929792f455d7f580ed91e914d28cf3b.zip |
cmd, core, eth, params: implement flags to control dao fork blocks
Diffstat (limited to 'cmd/geth/main.go')
-rw-r--r-- | cmd/geth/main.go | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go index cb43f8769..5f1157b90 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -150,7 +150,6 @@ participating. utils.IdentityFlag, utils.UnlockedAccountFlag, utils.PasswordFileFlag, - utils.GenesisFileFlag, utils.BootnodesFlag, utils.DataDirFlag, utils.KeyStoreDirFlag, @@ -165,6 +164,8 @@ participating. utils.MaxPendingPeersFlag, utils.EtherbaseFlag, utils.GasPriceFlag, + utils.SupportDAOFork, + utils.OpposeDAOFork, utils.MinerThreadsFlag, utils.MiningEnabledFlag, utils.MiningGPUFlag, @@ -225,12 +226,6 @@ participating. eth.EnableBadBlockReporting = true utils.SetupNetwork(ctx) - - // Deprecation warning. - if ctx.GlobalIsSet(utils.GenesisFileFlag.Name) { - common.PrintDepricationWarning("--genesis is deprecated. Switch to use 'geth init /path/to/file'") - } - return nil } |