MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / IsRouterBanned

Function IsRouterBanned

libi2pd/Profiling.cpp:282–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280 }
281
282 bool IsRouterBanned (const IdentHash& identHash)
283 {
284 std::lock_guard<std::mutex> l(g_ProfilesMutex);
285 auto it = g_Profiles.find (identHash);
286 if (it != g_Profiles.end ())
287 return it->second->IsUnreachable ();
288 return false;
289 }
290
291 bool IsRouterDuplicated (const IdentHash& identHash)
292 {

Callers 4

PostMessagesMethod · 0.85
ConnectToPeerMethod · 0.85
RequestRouterMethod · 0.85

Calls 1

IsUnreachableMethod · 0.45

Tested by

no test coverage detected