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

Method Status

p2p/peer.go:37–37  ·  view source on GitHub ↗

peer's info

()

Source from the content-addressed store, hash-verified

35
36 NodeInfo() NodeInfo // peer's info
37 Status() tmconn.ConnectionStatus
38 SocketAddr() *NetAddress // actual address of the socket
39
40 // Deprecated: entities looking to act as peers should implement SendEnvelope instead.

Callers 15

StatusMethod · 0.65
metricsReporterMethod · 0.65
TestMConnectionStatusFunction · 0.65
StatusMethod · 0.65
attemptDisconnectsMethod · 0.65
fetchBlockChainSampleFunction · 0.65
waitForNodeFunction · 0.65
fetchBlockChainFunction · 0.65
TestApp_HashFunction · 0.65
TestBlock_HeaderFunction · 0.65
TestBlock_RangeFunction · 0.65
TestValidator_SetsFunction · 0.65

Implementers 5

mockPeerp2p/peer_set_test.go
Peerp2p/mocks/peer.go
Peerp2p/mock/peer.go
fuzzPeertest/fuzz/p2p/pex/reactor_receive.go
mockPeerblockchain/v2/reactor_test.go

Calls

no outgoing calls

Tested by 6

TestMConnectionStatusFunction · 0.52
fetchBlockChainFunction · 0.52
TestApp_HashFunction · 0.52
TestBlock_HeaderFunction · 0.52
TestBlock_RangeFunction · 0.52
TestValidator_SetsFunction · 0.52