MCPcopy Create free account
hub / github.com/MiloOweno/kernel-lab / preparePeerData

Method preparePeerData

network/wsNetwork.go:1410–1438  ·  view source on GitHub ↗

preparePeerData prepares batches of data for sending. It performs zstd compression for proposal massages if they this is a prio request and has proposal.

(request broadcastRequest, prio bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

innerBroadcastMethod · 0.95
TestPreparePeerDataFunction · 0.80

Calls 4

HashFunction · 0.92
zstdCompressMsgFunction · 0.85
vpackCompressVoteFunction · 0.85
WarnMethod · 0.65

Tested by 1

TestPreparePeerDataFunction · 0.64