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

Function RelayDarkSendElectionEntry

src/net.cpp:2165–2177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2163}
2164
2165void RelayDarkSendElectionEntry(const CTxIn &vin, const CService addr, const std::vector<unsigned char> vchSig, const int64_t nNow, const CPubKey pubkey, const CPubKey pubkey2, const int count, const int current, const int64_t lastUpdated, const int protocolVersion)
2166{
2167 vector<CNode*> vNodesCopy;
2168 {
2169 LOCK(cs_vNodes);
2170 vNodesCopy = vNodes;
2171 }
2172
2173 for (CNode* pnode : vNodesCopy) {
2174 if(!pnode || !pnode->fRelayTxes) continue;
2175 pnode->PushMessage("dsee", vin, addr, vchSig, nNow, pubkey, pubkey2, count, current, lastUpdated, protocolVersion);
2176 }
2177}
2178
2179void SendDarkSendElectionEntry(const CTxIn &vin, const CService addr, const std::vector<unsigned char> vchSig, const int64_t nNow, const CPubKey pubkey, const CPubKey pubkey2, const int count, const int current, const int64_t lastUpdated, const int protocolVersion)
2180{

Callers 1

ProcessMasternodeFunction · 0.85

Calls 1

PushMessageMethod · 0.80

Tested by

no test coverage detected