From 0ed1a8b50a9b9726cd57a2731d0405f6949c6188 Mon Sep 17 00:00:00 2001 From: obscuren Date: Fri, 31 Oct 2014 14:30:08 +0100 Subject: ethpipe => xeth (eXtended ETHereum) --- rpc/packages.go | 4 ++-- rpc/server.go | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'rpc') diff --git a/rpc/packages.go b/rpc/packages.go index 31500867c..5535e6e79 100644 --- a/rpc/packages.go +++ b/rpc/packages.go @@ -6,12 +6,12 @@ import ( "math/big" "strings" - "github.com/ethereum/go-ethereum/ethpipe" "github.com/ethereum/go-ethereum/ethutil" + "github.com/ethereum/go-ethereum/xeth" ) type EthereumApi struct { - pipe *ethpipe.JSPipe + pipe *xeth.JSXEth } type JsonArgs interface { 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 { -- cgit