diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-26 06:41:55 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-26 06:41:55 +0800 |
commit | 0d89c1d212e121b4904bf24b5332de9d4344334b (patch) | |
tree | b6499be349d9950ba083e211ebb787294fbf413c /ethereum/config.go | |
parent | 7f1a4c377c18055137909521d809251248b7b5af (diff) | |
parent | 818bc84591c490b29cb28ee1e4895c8f303a0af1 (diff) | |
download | go-tangerine-0d89c1d212e121b4904bf24b5332de9d4344334b.tar go-tangerine-0d89c1d212e121b4904bf24b5332de9d4344334b.tar.gz go-tangerine-0d89c1d212e121b4904bf24b5332de9d4344334b.tar.bz2 go-tangerine-0d89c1d212e121b4904bf24b5332de9d4344334b.tar.lz go-tangerine-0d89c1d212e121b4904bf24b5332de9d4344334b.tar.xz go-tangerine-0d89c1d212e121b4904bf24b5332de9d4344334b.tar.zst go-tangerine-0d89c1d212e121b4904bf24b5332de9d4344334b.zip |
Merge branch 'release/poc5-rc9'poc5-rc9
Diffstat (limited to 'ethereum/config.go')
-rw-r--r-- | ethereum/config.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ethereum/config.go b/ethereum/config.go index f25f2fb66..5da910f2b 100644 --- a/ethereum/config.go +++ b/ethereum/config.go @@ -6,6 +6,7 @@ import ( "os" ) +var Identifier string var StartMining bool var StartRpc bool var RpcPort int @@ -30,6 +31,7 @@ func Init() { flag.PrintDefaults() } + flag.StringVar(&Identifier, "i", "", "custom client identifier") flag.BoolVar(&StartMining, "m", false, "start dagger mining") flag.BoolVar(&ShowGenesis, "g", false, "prints genesis header and exits") flag.BoolVar(&StartRpc, "r", false, "start rpc server") @@ -45,7 +47,6 @@ func Init() { flag.StringVar(&ImportKey, "import", "", "imports the given private key (hex)") flag.IntVar(&MaxPeer, "x", 10, "maximum desired peers") flag.BoolVar(&StartJsConsole, "js", false, "exp") - //flag.StringVar(&InputFile, "e", "", "Run javascript file") flag.Parse() |