MCPcopy Create free account
hub / github.com/Tencent/phxpaxos / AddReceive

Method AddReceive

src/algorithm/msg_counter.cpp:46–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46void MsgCounter :: AddReceive(const nodeid_t iNodeID)
47{
48 if (m_setReceiveMsgNodeID.find(iNodeID) == m_setReceiveMsgNodeID.end())
49 {
50 m_setReceiveMsgNodeID.insert(iNodeID);
51 }
52}
53
54void MsgCounter :: AddReject(const nodeid_t iNodeID)
55{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected