MCPcopy Create free account
hub / github.com/DNAProject/DNA / broadcast

Method broadcast

consensus/vbft/node_utils.go:427–432  ·  view source on GitHub ↗
(msg ConsensusMsg)

Source from the content-addressed store, hash-verified

425}
426
427func (self *Server) broadcast(msg ConsensusMsg) {
428 self.msgSendC <- &SendMsgEvent{
429 ToPeer: math.MaxUint32,
430 Msg: msg,
431 }
432}
433
434func (self *Server) broadcastToAll(data []byte) error {
435 msg := &p2pmsg.ConsensusPayload{

Callers 6

processMsgEventMethod · 0.95
actionLoopMethod · 0.95
endorseBlockMethod · 0.95
commitBlockMethod · 0.95
makeProposalMethod · 0.95
setBlockSealedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected