MCPcopy Create free account
hub / github.com/CPChain/chain / SendNodeData

Method SendNodeData

protocols/cpc/peer.go:274–276  ·  view source on GitHub ↗

SendNodeDataRLP sends a batch of arbitrary internal data, corresponding to the hashes requested.

(data [][]byte)

Source from the content-addressed store, hash-verified

272// SendNodeDataRLP sends a batch of arbitrary internal data, corresponding to the
273// hashes requested.
274func (p *peer) SendNodeData(data [][]byte) error {
275 return p2p.Send(p.rw, NodeDataMsg, data)
276}
277
278// SendReceiptsRLP sends a batch of transaction receipts, corresponding to the
279// ones requested from an already RLP encoded format.

Callers 1

handleSyncMsgMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected