MCPcopy Create free account
hub / github.com/DOSNetwork/core / Request

Method Request

p2p/p2p_interface.go:45–45  ·  view source on GitHub ↗
(ctx context.Context, id []byte, m proto.Message)

Source from the content-addressed store, hash-verified

43 DisConnectTo(id []byte) error
44 Leave()
45 Request(ctx context.Context, id []byte, m proto.Message) (msg P2PMessage, err error)
46 Reply(ctx context.Context, id []byte, nonce uint64, m proto.Message) (err error)
47 SubscribeEvent() (subID int, outch chan discover.P2PEvent, err error)
48 UnSubscribeEvent(int)

Callers 4

TestServerFunction · 0.65
sendToMembersFunction · 0.65
genDealsAndSendFunction · 0.65
dispatchSignFunction · 0.65

Implementers 1

serverp2p/server.go

Calls

no outgoing calls

Tested by 1

TestServerFunction · 0.52