Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitcoin/bitcoin
/ ClearLocal
Function
ClearLocal
src/net.cpp:271–275 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
269
}
270
271
void ClearLocal()
272
{
273
LOCK(g_maplocalhost_mutex);
274
return mapLocalHost.clear();
275
}
276
277
// learn a new local address
278
bool AddLocal(const CService& addr_, int nScore)
Callers
1
BasicTestingSetup
Method · 0.85
Calls
1
clear
Method · 0.45
Tested by
1
BasicTestingSetup
Method · 0.68