MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / nodeInfo

Method nodeInfo

p2p/peer_test.go:232–242  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

230}
231
232func (rp *remotePeer) nodeInfo() NodeInfo {
233 return DefaultNodeInfo{
234 ProtocolVersion: defaultProtocolVersion,
235 DefaultNodeID: rp.Addr().ID,
236 ListenAddr: rp.listener.Addr().String(),
237 Network: "testing",
238 Version: "1.2.3-rc0-deadbeef",
239 Channels: rp.channels,
240 Moniker: "remote_peer",
241 }
242}

Callers 2

DialMethod · 0.95
acceptMethod · 0.95

Calls 2

AddrMethod · 0.95
StringMethod · 0.65

Tested by

no test coverage detected