diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-03-04 03:16:16 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-03-04 03:16:16 +0800 |
commit | b1603f166e36de5959e780c8e8fc866ae3ceeca0 (patch) | |
tree | 25ef99f9acf93648698a02c399021eedd29a4afc /cmd/mist | |
parent | 6e50a1e9f59532671eaa2bb2f2081a67f659bd0d (diff) | |
parent | 4cb0bfe9395f3a45fcea00bc753cbd2c20ca78e8 (diff) | |
download | go-tangerine-b1603f166e36de5959e780c8e8fc866ae3ceeca0.tar go-tangerine-b1603f166e36de5959e780c8e8fc866ae3ceeca0.tar.gz go-tangerine-b1603f166e36de5959e780c8e8fc866ae3ceeca0.tar.bz2 go-tangerine-b1603f166e36de5959e780c8e8fc866ae3ceeca0.tar.lz go-tangerine-b1603f166e36de5959e780c8e8fc866ae3ceeca0.tar.xz go-tangerine-b1603f166e36de5959e780c8e8fc866ae3ceeca0.tar.zst go-tangerine-b1603f166e36de5959e780c8e8fc866ae3ceeca0.zip |
Merge pull request #408 from tgerring/removews
Remove Websockets RPC transport
Diffstat (limited to 'cmd/mist')
-rw-r--r-- | cmd/mist/flags.go | 4 | ||||
-rw-r--r-- | cmd/mist/main.go | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/cmd/mist/flags.go b/cmd/mist/flags.go index 1ffeb1915..095defc38 100644 --- a/cmd/mist/flags.go +++ b/cmd/mist/flags.go @@ -41,10 +41,8 @@ var ( KeyRing string KeyStore string StartRpc bool - StartWebSockets bool RpcListenAddress string RpcPort int - WsPort int OutboundPort string ShowGenesis bool AddPeer string @@ -82,9 +80,7 @@ func Init() { flag.StringVar(&KeyStore, "keystore", "db", "system to store keyrings: db|file (db)") flag.StringVar(&RpcListenAddress, "rpcaddr", "127.0.0.1", "address for json-rpc server to listen on") flag.IntVar(&RpcPort, "rpcport", 8545, "port to start json-rpc server on") - flag.IntVar(&WsPort, "wsport", 40404, "port to start websocket rpc server on") flag.BoolVar(&StartRpc, "rpc", true, "start rpc server") - flag.BoolVar(&StartWebSockets, "ws", false, "start websocket server") flag.BoolVar(&NonInteractive, "y", false, "non-interactive mode (say yes to confirmations)") flag.BoolVar(&GenAddr, "genaddr", false, "create a new priv/pub key") flag.StringVar(&SecretFile, "import", "", "imports the file given (hex or mnemonic formats)") diff --git a/cmd/mist/main.go b/cmd/mist/main.go index c9a07bfde..1d4403848 100644 --- a/cmd/mist/main.go +++ b/cmd/mist/main.go @@ -76,10 +76,6 @@ func run() error { utils.StartRpc(ethereum, RpcListenAddress, RpcPort) } - if StartWebSockets { - utils.StartWebSockets(ethereum, WsPort) - } - gui := NewWindow(ethereum, config, KeyRing, LogLevel) utils.RegisterInterrupt(func(os.Signal) { |