aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/server.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-31 21:30:08 +0800
committerobscuren <geffobscura@gmail.com>2014-10-31 21:30:08 +0800
commit0ed1a8b50a9b9726cd57a2731d0405f6949c6188 (patch)
tree9f877ecdc89b784cd2820db8ca3f1de6e9c4d3e9 /rpc/server.go
parent8826e9694c3a8d4f480f0a021d8c02f7f61612c6 (diff)
downloadgo-tangerine-0ed1a8b50a9b9726cd57a2731d0405f6949c6188.tar
go-tangerine-0ed1a8b50a9b9726cd57a2731d0405f6949c6188.tar.gz
go-tangerine-0ed1a8b50a9b9726cd57a2731d0405f6949c6188.tar.bz2
go-tangerine-0ed1a8b50a9b9726cd57a2731d0405f6949c6188.tar.lz
go-tangerine-0ed1a8b50a9b9726cd57a2731d0405f6949c6188.tar.xz
go-tangerine-0ed1a8b50a9b9726cd57a2731d0405f6949c6188.tar.zst
go-tangerine-0ed1a8b50a9b9726cd57a2731d0405f6949c6188.zip
ethpipe => xeth (eXtended ETHereum)
Diffstat (limited to 'rpc/server.go')
-rw-r--r--rpc/server.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/rpc/server.go b/rpc/server.go
index 20f75ce67..983dc6c33 100644
--- a/rpc/server.go
+++ b/rpc/server.go
@@ -6,8 +6,8 @@ import (
"net/rpc"
"net/rpc/jsonrpc"
- "github.com/ethereum/go-ethereum/ethpipe"
"github.com/ethereum/go-ethereum/logger"
+ "github.com/ethereum/go-ethereum/xeth"
)
var jsonlogger = logger.NewLogger("JSON")
@@ -15,7 +15,7 @@ var jsonlogger = logger.NewLogger("JSON")
type JsonRpcServer struct {
quit chan bool
listener net.Listener
- pipe *ethpipe.JSPipe
+ pipe *xeth.JSXEth
}
func (s *JsonRpcServer) exitHandler() {
@@ -52,7 +52,7 @@ func (s *JsonRpcServer) Start() {
}
}
-func NewJsonRpcServer(pipe *ethpipe.JSPipe, port int) (*JsonRpcServer, error) {
+func NewJsonRpcServer(pipe *xeth.JSXEth, port int) (*JsonRpcServer, error) {
sport := fmt.Sprintf(":%d", port)
l, err := net.Listen("tcp", sport)
if err != nil {