MCPcopy Create free account
hub / github.com/CPChain/chain / RemoteAddr

Method RemoteAddr

api/rpc/http.go:53–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51// httpConn is treated specially by Client.
52func (hc *httpConn) LocalAddr() net.Addr { return nullAddr }
53func (hc *httpConn) RemoteAddr() net.Addr { return nullAddr }
54func (hc *httpConn) SetReadDeadline(time.Time) error { return nil }
55func (hc *httpConn) SetWriteDeadline(time.Time) error { return nil }
56func (hc *httpConn) SetDeadline(time.Time) error { return nil }

Callers 11

ServeListenerMethod · 0.45
HandleMsgMethod · 0.45
handleMsgMethod · 0.45
handleLBFT2MsgMethod · 0.45
EnodeIDMethod · 0.45
AddStaticMethod · 0.45
disconnectMethod · 0.45
handlePeerMethod · 0.45
syncTransactionsMethod · 0.45
SendTransactionsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected