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

Function IsRouterDuplicated

libi2pd/Profiling.cpp:291–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289 }
290
291 bool IsRouterDuplicated (const IdentHash& identHash)
292 {
293 std::lock_guard<std::mutex> l(g_ProfilesMutex);
294 auto it = g_Profiles.find (identHash);
295 if (it != g_Profiles.end ())
296 return it->second->IsDuplicated ();
297 return false;
298 }
299
300 void InitProfilesStorage ()
301 {

Calls 1

IsDuplicatedMethod · 0.80

Tested by

no test coverage detected