MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / PushBlockConfirmMessage

Method PushBlockConfirmMessage

src/p2p/node.h:355–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353 }
354
355 void PushBlockConfirmMessage(const CBlockConfirmMessage& msg) {
356 LOCK(cs_blockConfirm);
357 if(!setBlockConfirmMsgKnown.count(msg)){
358 PushMessage(NetMsgType::CONFIRMBLOCK, msg);
359 setBlockConfirmMsgKnown.insert(msg);
360 }
361 }
362
363 void PushBlockFinalityMessage(const CBlockFinalityMessage& msg) {
364 LOCK(cs_blockFinality);

Callers 2

BroadcastBlockConfirmFunction · 0.80
RelayBlockConfirmMessageFunction · 0.80

Calls 2

countMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected