| 2163 | } |
| 2164 | |
| 2165 | void 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 | |
| 2179 | void 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 | { |
no test coverage detected