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

Method PushBlockFinalityMessage

src/p2p/node.h:363–369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361 }
362
363 void PushBlockFinalityMessage(const CBlockFinalityMessage& msg) {
364 LOCK(cs_blockFinality);
365 if(!setBlockFinalityMsgKnown.count(msg)){
366 PushMessage(NetMsgType::FINALITYBLOCK, msg);
367 setBlockFinalityMsgKnown.insert(msg);
368 }
369 }
370
371 void AskFor(const CInv& inv) {
372 if (mapAskFor.size() > MAPASKFOR_MAX_SZ) {

Callers 2

BroadcastBlockFinalityFunction · 0.80

Calls 2

countMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected