aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/ipc.go
diff options
context:
space:
mode:
authorFranklin <mr_franklin@126.com>2018-11-20 22:16:40 +0800
committerFranklin <mr_franklin@126.com>2018-11-20 22:16:40 +0800
commit21dd59bd047d1f291c1a773b690825a3654ea969 (patch)
tree39ac1431427c6cfa0fd5d111462f237066413ba4 /rpc/ipc.go
parent3d997b6decfaa42e37521ae20bf58886c8b2de8f (diff)
downloadgo-tangerine-21dd59bd047d1f291c1a773b690825a3654ea969.tar
go-tangerine-21dd59bd047d1f291c1a773b690825a3654ea969.tar.gz
go-tangerine-21dd59bd047d1f291c1a773b690825a3654ea969.tar.bz2
go-tangerine-21dd59bd047d1f291c1a773b690825a3654ea969.tar.lz
go-tangerine-21dd59bd047d1f291c1a773b690825a3654ea969.tar.xz
go-tangerine-21dd59bd047d1f291c1a773b690825a3654ea969.tar.zst
go-tangerine-21dd59bd047d1f291c1a773b690825a3654ea969.zip
.
Diffstat (limited to 'rpc/ipc.go')
-rw-r--r--rpc/ipc.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/rpc/ipc.go b/rpc/ipc.go
index b05e503d7..1467f7a0c 100644
--- a/rpc/ipc.go
+++ b/rpc/ipc.go
@@ -24,17 +24,17 @@ import (
"github.com/ethereum/go-ethereum/p2p/netutil"
)
-// ServeListener accepts connections on l, serving JSON-RPC on them.
+// ServeListener accepts connections on l, serving IPC-RPC on them.
func (srv *Server) ServeListener(l net.Listener) error {
for {
conn, err := l.Accept()
if netutil.IsTemporaryError(err) {
- log.Warn("RPC accept error", "err", err)
+ log.Warn("IPC accept error", "err", err)
continue
} else if err != nil {
return err
}
- log.Trace("Accepted connection", "addr", conn.RemoteAddr())
+ log.Trace("IPC accepted connection")
go srv.ServeCodec(NewJSONCodec(conn), OptionMethodInvocation|OptionSubscriptions)
}
}