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

Method handShake

p2p/client.go:87–89  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

85}
86
87func (c *client) handShake(ctx context.Context) (err chan error) {
88 return utils.MergeErrors(ctx, c.sendID(ctx), c.receiveID(ctx))
89}
90
91func (c *client) receiveID(ctx context.Context) (errc chan error) {
92 errc = make(chan error)

Callers 2

ListenMethod · 0.80
handleCallReqMethod · 0.80

Calls 2

sendIDMethod · 0.95
receiveIDMethod · 0.95

Tested by

no test coverage detected