diff options
author | obscuren <geffobscura@gmail.com> | 2015-01-29 01:22:53 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-01-29 01:22:53 +0800 |
commit | 45e15f62f594d6f5191e60a54aead33602838e98 (patch) | |
tree | 5b82273df6a23c219d1e97dbb86b4bdcb620374a /cmd/ethereum/flags.go | |
parent | fb7c03ff4dc759f7dd2fc5cee65b46111cbb7375 (diff) | |
parent | 7f638f0b2d8d989be25e660178d79df3278e4c84 (diff) | |
download | go-tangerine-45e15f62f594d6f5191e60a54aead33602838e98.tar go-tangerine-45e15f62f594d6f5191e60a54aead33602838e98.tar.gz go-tangerine-45e15f62f594d6f5191e60a54aead33602838e98.tar.bz2 go-tangerine-45e15f62f594d6f5191e60a54aead33602838e98.tar.lz go-tangerine-45e15f62f594d6f5191e60a54aead33602838e98.tar.xz go-tangerine-45e15f62f594d6f5191e60a54aead33602838e98.tar.zst go-tangerine-45e15f62f594d6f5191e60a54aead33602838e98.zip |
merge jsonrpc
Diffstat (limited to 'cmd/ethereum/flags.go')
-rw-r--r-- | cmd/ethereum/flags.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/ethereum/flags.go b/cmd/ethereum/flags.go index f829744dc..e0fbbb008 100644 --- a/cmd/ethereum/flags.go +++ b/cmd/ethereum/flags.go @@ -41,6 +41,7 @@ var ( StartRpc bool StartWebSockets bool RpcPort int + WsPort int NatType string PMPGateway string OutboundPort string @@ -96,6 +97,7 @@ func Init() { flag.StringVar(&PMPGateway, "pmp", "", "Gateway IP for PMP") flag.IntVar(&MaxPeer, "maxpeer", 30, "maximum desired peers") flag.IntVar(&RpcPort, "rpcport", 8080, "port to start json-rpc server on") + flag.IntVar(&WsPort, "wsport", 40404, "port to start websocket rpc server on") flag.BoolVar(&StartRpc, "rpc", false, "start rpc server") flag.BoolVar(&StartWebSockets, "ws", false, "start websocket server") flag.BoolVar(&NonInteractive, "y", false, "non-interactive mode (say yes to confirmations)") |