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

Method IsPublished

libi2pd/RouterInfo.cpp:1031–1035  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1029 }
1030
1031 bool RouterInfo::IsPublished (bool v4) const
1032 {
1033 if (m_Caps & (eUnreachable | eHidden)) return false; // if router sets U or H we assume that all addresses are not published
1034 return IsPublishedOn (v4 ? (eNTCP2V4 | eSSU2V4) : (eNTCP2V6 | eSSU2V6));
1035 }
1036
1037 bool RouterInfo::IsPublishedOn (CompatibleTransports transports) const
1038 {

Callers 3

StandardSelectPeersMethod · 0.80
GetRandomRouterMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected