diff options
author | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-08-03 23:48:24 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-08-04 00:15:48 +0800 |
commit | dcdb7059cc69ee4e77518b8dd92d5c7037aa3c8d (patch) | |
tree | 6c3e0c5b59ce2ec6515b4ce96d84421b9b635d94 /cmd/geth/main.go | |
parent | e7f4232b10034d291d1757b96e6277908618223c (diff) | |
download | dexon-dcdb7059cc69ee4e77518b8dd92d5c7037aa3c8d.tar dexon-dcdb7059cc69ee4e77518b8dd92d5c7037aa3c8d.tar.gz dexon-dcdb7059cc69ee4e77518b8dd92d5c7037aa3c8d.tar.bz2 dexon-dcdb7059cc69ee4e77518b8dd92d5c7037aa3c8d.tar.lz dexon-dcdb7059cc69ee4e77518b8dd92d5c7037aa3c8d.tar.xz dexon-dcdb7059cc69ee4e77518b8dd92d5c7037aa3c8d.tar.zst dexon-dcdb7059cc69ee4e77518b8dd92d5c7037aa3c8d.zip |
cmd, core, eth: support for the olympic network
Added a --olympic flag which initialiser the olympic protocol settings
Diffstat (limited to 'cmd/geth/main.go')
-rw-r--r-- | cmd/geth/main.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go index 68a2c79e2..511e0df9d 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -280,6 +280,7 @@ JavaScript API. See https://github.com/ethereum/go-ethereum/wiki/Javascipt-Conso utils.BootnodesFlag, utils.DataDirFlag, utils.BlockchainVersionFlag, + utils.OlympicFlag, utils.CacheFlag, utils.JSpathFlag, utils.ListenPortFlag, @@ -346,6 +347,9 @@ func main() { func run(ctx *cli.Context) { utils.CheckLegalese(ctx.GlobalString(utils.DataDirFlag.Name)) + if ctx.GlobalBool(utils.OlympicFlag.Name) { + utils.InitOlympic() + } cfg := utils.MakeEthConfig(ClientIdentifier, nodeNameVersion, ctx) ethereum, err := eth.New(cfg) |