diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-22 16:38:37 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-22 16:38:37 +0800 |
commit | 5f8911f7cba2cf837d891735f46b02b34e4fc228 (patch) | |
tree | 25d838b09733129a93810016ba3b9aa842958e87 /ethereum/config.go | |
parent | 01b833146f3afa214586a1ffb710546a5e4cc90a (diff) | |
download | go-tangerine-5f8911f7cba2cf837d891735f46b02b34e4fc228.tar go-tangerine-5f8911f7cba2cf837d891735f46b02b34e4fc228.tar.gz go-tangerine-5f8911f7cba2cf837d891735f46b02b34e4fc228.tar.bz2 go-tangerine-5f8911f7cba2cf837d891735f46b02b34e4fc228.tar.lz go-tangerine-5f8911f7cba2cf837d891735f46b02b34e4fc228.tar.xz go-tangerine-5f8911f7cba2cf837d891735f46b02b34e4fc228.tar.zst go-tangerine-5f8911f7cba2cf837d891735f46b02b34e4fc228.zip |
Custom identifier
Diffstat (limited to 'ethereum/config.go')
-rw-r--r-- | ethereum/config.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ethereum/config.go b/ethereum/config.go index f25f2fb66..f39f3b7da 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") |