aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/config.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-22 16:38:37 +0800
committerobscuren <geffobscura@gmail.com>2014-05-22 16:38:37 +0800
commit5f8911f7cba2cf837d891735f46b02b34e4fc228 (patch)
tree25d838b09733129a93810016ba3b9aa842958e87 /ethereal/config.go
parent01b833146f3afa214586a1ffb710546a5e4cc90a (diff)
downloaddexon-5f8911f7cba2cf837d891735f46b02b34e4fc228.tar
dexon-5f8911f7cba2cf837d891735f46b02b34e4fc228.tar.gz
dexon-5f8911f7cba2cf837d891735f46b02b34e4fc228.tar.bz2
dexon-5f8911f7cba2cf837d891735f46b02b34e4fc228.tar.lz
dexon-5f8911f7cba2cf837d891735f46b02b34e4fc228.tar.xz
dexon-5f8911f7cba2cf837d891735f46b02b34e4fc228.tar.zst
dexon-5f8911f7cba2cf837d891735f46b02b34e4fc228.zip
Custom identifier
Diffstat (limited to 'ethereal/config.go')
-rw-r--r--ethereal/config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/ethereal/config.go b/ethereal/config.go
index 817befc2c..3864126db 100644
--- a/ethereal/config.go
+++ b/ethereal/config.go
@@ -4,6 +4,7 @@ import (
"flag"
)
+var Identifier string
var StartConsole bool
var StartMining bool
var StartRpc bool
@@ -21,6 +22,7 @@ var DataDir string
var AssetPath string
func Init() {
+ flag.StringVar(&Identifier, "i", "", "Custom client identifier")
flag.BoolVar(&StartConsole, "c", false, "debug and testing console")
flag.BoolVar(&StartMining, "m", false, "start dagger mining")
flag.BoolVar(&StartRpc, "r", false, "start rpc server")