Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
ProcessTxMessage
Function · 0.80
ProcessInvMessage
Function · 0.80
ProcessBlockMessage
Function · 0.80
Calls
1
insert
Method · 0.45
Tested by
no test coverage detected