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

Function RelayInv

src/net.cpp:2108–2120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2106}
2107
2108void 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
2122void RelayDarkSendFinalTransaction(const int sessionID, const CTransaction& txNew)
2123{

Callers

nothing calls this directly

Calls 2

ActiveProtocolFunction · 0.85
PushInventoryMethod · 0.80

Tested by

no test coverage detected