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

Method IsNTCP2

libi2pd/RouterInfo.cpp:839–845  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

837 }
838
839 bool RouterInfo::IsNTCP2 (bool v4only) const
840 {
841 if (v4only)
842 return m_SupportedTransports & eNTCP2V4;
843 else
844 return m_SupportedTransports & (eNTCP2V4 | eNTCP2V6);
845 }
846
847
848 void RouterInfo::EnableV6 ()

Callers 3

ReadFromBufferMethod · 0.45
WriteToStreamMethod · 0.45
UpdateNTCP2KeysMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected