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

Method AddMessageKnown

src/miner/pbftcontext.h:60–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 }
59
60 bool AddMessageKnown(const MsgType msg) {
61 LOCK(cs_pbftmessage);
62 messageKnown.insert(msg);
63 return true;
64 }
65
66 int SaveMessageByBlock(const uint256 blockHash,const MsgType& msg) {
67

Callers 2

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected