aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum/config.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-13 22:37:47 +0800
committerobscuren <geffobscura@gmail.com>2014-05-13 22:37:47 +0800
commit1adfc272a856d466e3d513522ee2fa83853b08ab (patch)
tree1618746391e6302d65401581e9804b7900cfbd45 /ethereum/config.go
parent721d3a9a57fbc7478255d52271531f001375b863 (diff)
parent9caf53f8c63cb30a174d2b33ef85176c8f6f8204 (diff)
downloadgo-tangerine-1adfc272a856d466e3d513522ee2fa83853b08ab.tar
go-tangerine-1adfc272a856d466e3d513522ee2fa83853b08ab.tar.gz
go-tangerine-1adfc272a856d466e3d513522ee2fa83853b08ab.tar.bz2
go-tangerine-1adfc272a856d466e3d513522ee2fa83853b08ab.tar.lz
go-tangerine-1adfc272a856d466e3d513522ee2fa83853b08ab.tar.xz
go-tangerine-1adfc272a856d466e3d513522ee2fa83853b08ab.tar.zst
go-tangerine-1adfc272a856d466e3d513522ee2fa83853b08ab.zip
Merge branch 'release/poc5-rc4'poc5-rc4
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 234e79f12..7ca1a9801 100644
--- a/ethereum/config.go
+++ b/ethereum/config.go
@@ -7,6 +7,7 @@ import (
var StartConsole bool
var StartMining bool
var StartRpc bool
+var RpcPort int
var UseUPnP bool
var OutboundPort string
var ShowGenesis bool
@@ -26,6 +27,7 @@ func Init() {
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.IntVar(&RpcPort, "rpcport", 8080, "port to start json-rpc server on")
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")