| 2106 | } |
| 2107 | |
| 2108 | void RelayInv(CInv& inv) |
| 2109 | { |
| 2110 | vector<CNode*> vNodesCopy; |
| 2111 | { |
| 2112 | LOCK(cs_vNodes); |
| 2113 | vNodesCopy = vNodes; |
| 2114 | } |
| 2115 | |
| 2116 | for (CNode* pnode : vNodesCopy) { |
| 2117 | if (pnode && pnode->nVersion >= ActiveProtocol()) |
| 2118 | pnode->PushInventory(inv); |
| 2119 | } |
| 2120 | } |
| 2121 | |
| 2122 | void RelayDarkSendFinalTransaction(const int sessionID, const CTransaction& txNew) |
| 2123 | { |
nothing calls this directly
no test coverage detected