MCPcopy Create free account
hub / github.com/LUX-Core/lux / RelayDarkSendElectionEntryPing

Function RelayDarkSendElectionEntryPing

src/net.cpp:2193–2205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2191}
2192
2193void RelayDarkSendElectionEntryPing(const CTxIn &vin, const std::vector<unsigned char> vchSig, const int64_t nNow, const bool stop)
2194{
2195 vector<CNode*> vNodesCopy;
2196 {
2197 LOCK(cs_vNodes);
2198 vNodesCopy = vNodes;
2199 }
2200
2201 for (CNode* pnode : vNodesCopy) {
2202 if(!pnode || !pnode->fRelayTxes) continue;
2203 pnode->PushMessage("dseep", vin, vchSig, nNow, stop);
2204 }
2205}
2206
2207void SendDarkSendElectionEntryPing(const CTxIn &vin, const std::vector<unsigned char> vchSig, const int64_t nNow, const bool stop)
2208{

Callers 1

ProcessMasternodeFunction · 0.85

Calls 1

PushMessageMethod · 0.80

Tested by

no test coverage detected