aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-03-04 03:16:16 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-03-04 03:16:16 +0800
commitb1603f166e36de5959e780c8e8fc866ae3ceeca0 (patch)
tree25ef99f9acf93648698a02c399021eedd29a4afc /cmd/utils
parent6e50a1e9f59532671eaa2bb2f2081a67f659bd0d (diff)
parent4cb0bfe9395f3a45fcea00bc753cbd2c20ca78e8 (diff)
downloaddexon-b1603f166e36de5959e780c8e8fc866ae3ceeca0.tar
dexon-b1603f166e36de5959e780c8e8fc866ae3ceeca0.tar.gz
dexon-b1603f166e36de5959e780c8e8fc866ae3ceeca0.tar.bz2
dexon-b1603f166e36de5959e780c8e8fc866ae3ceeca0.tar.lz
dexon-b1603f166e36de5959e780c8e8fc866ae3ceeca0.tar.xz
dexon-b1603f166e36de5959e780c8e8fc866ae3ceeca0.tar.zst
dexon-b1603f166e36de5959e780c8e8fc866ae3ceeca0.zip
Merge pull request #408 from tgerring/removews
Remove Websockets RPC transport
Diffstat (limited to 'cmd/utils')
-rw-r--r--cmd/utils/cmd.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/cmd/utils/cmd.go b/cmd/utils/cmd.go
index 5c7ec3221..723cfa887 100644
--- a/cmd/utils/cmd.go
+++ b/cmd/utils/cmd.go
@@ -35,7 +35,6 @@ import (
"github.com/ethereum/go-ethereum/miner"
"github.com/ethereum/go-ethereum/rlp"
rpchttp "github.com/ethereum/go-ethereum/rpc/http"
- rpcws "github.com/ethereum/go-ethereum/rpc/ws"
"github.com/ethereum/go-ethereum/state"
"github.com/ethereum/go-ethereum/xeth"
)
@@ -170,18 +169,6 @@ func StartRpc(ethereum *eth.Ethereum, RpcListenAddress string, RpcPort int) {
}
}
-func StartWebSockets(eth *eth.Ethereum, wsPort int) {
- clilogger.Infoln("Starting WebSockets")
-
- var err error
- eth.WsServer, err = rpcws.NewWebSocketServer(xeth.New(eth), wsPort)
- if err != nil {
- clilogger.Errorf("Could not start RPC interface (port %v): %v", wsPort, err)
- } else {
- go eth.WsServer.Start()
- }
-}
-
var gminer *miner.Miner
func GetMiner() *miner.Miner {