aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum/config.go
diff options
context:
space:
mode:
authorMaran <maran.hidskes@gmail.com>2014-05-02 19:35:03 +0800
committerMaran <maran.hidskes@gmail.com>2014-05-02 19:35:03 +0800
commit3424bf17ca791b97ea512bef5290d1a52c1758af (patch)
tree247dafa437609d9e2c53376adb2afa6cbbcbacc4 /ethereum/config.go
parent1b597b8ca9ee9564f29b93e1ba5877e012a8d989 (diff)
downloaddexon-3424bf17ca791b97ea512bef5290d1a52c1758af.tar.gz
dexon-3424bf17ca791b97ea512bef5290d1a52c1758af.tar.zst
dexon-3424bf17ca791b97ea512bef5290d1a52c1758af.zip
Moved RPC Server and implemented it as a package
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 b796af5cd..234e79f12 100644
--- a/ethereum/config.go
+++ b/ethereum/config.go
@@ -6,6 +6,7 @@ import (
var StartConsole bool
var StartMining bool
+var StartRpc bool
var UseUPnP bool
var OutboundPort string
var ShowGenesis bool
@@ -24,6 +25,7 @@ func Init() {
flag.BoolVar(&StartMining, "m", false, "start dagger mining")
flag.BoolVar(&ShowGenesis, "g", false, "prints genesis header and exits")
//flag.BoolVar(&UseGui, "gui", true, "use the gui")
+ flag.BoolVar(&StartRpc, "r", false, "start rpc server")
flag.BoolVar(&NonInteractive, "y", false, "non-interactive mode (say yes to confirmations)")
flag.BoolVar(&UseUPnP, "upnp", false, "enable UPnP support")
flag.BoolVar(&UseSeed, "seed", true, "seed peers")