aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethereum/config.go')
-rw-r--r--ethereum/config.go2
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")