MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / AddInventoryKnown

Method AddInventoryKnown

src/p2p/node.h:340–343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

338 }
339
340 void AddInventoryKnown(const CInv& inv) {
341 LOCK(cs_inventory);
342 setInventoryKnown.insert(inv);
343 }
344
345 void PushInventory(const CInv& inv, bool forced = false) {
346 LOCK(cs_inventory);

Callers 3

ProcessTxMessageFunction · 0.80
ProcessInvMessageFunction · 0.80
ProcessBlockMessageFunction · 0.80

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected