Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PurpleI2P/i2pd
/ IsUseful
Method
IsUseful
libi2pd/Profiling.cpp:259–262 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
257
}
258
259
bool RouterProfile::IsUseful() const
260
{
261
return IsReal () || m_NumTunnelsNonReplied >= PEER_PROFILE_USEFUL_THRESHOLD;
262
}
263
264
std::shared_ptr<RouterProfile> GetRouterProfile (const IdentHash& identHash)
265
{
Callers
1
SaveProfiles
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected