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

Method reportMsg

p2p/client.go:617–622  ·  view source on GitHub ↗
(msg P2PMessage)

Source from the content-addressed store, hash-verified

615}
616
617func (c *client) reportMsg(msg P2PMessage) {
618 select {
619 case <-c.ctx.Done():
620 case c.peerFeed <- msg:
621 }
622}
623
624//TODO : Move to other module
625func (c *client) signFn(msg []byte) (sig []byte, err error) {

Callers 1

dispatchMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected