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

Method TunnelBuildResponse

libi2pd/Profiling.cpp:162–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160 }
161
162 void RouterProfile::TunnelBuildResponse (uint8_t ret)
163 {
164 UpdateTime ();
165 if (ret > 0)
166 {
167 m_NumTunnelsDeclined++;
168 m_LastDeclineTime = i2p::util::GetSecondsSinceEpoch ();
169 }
170 else
171 {
172 m_NumTunnelsAgreed++;
173 m_LastDeclineTime = 0;
174 }
175 }
176
177 void RouterProfile::TunnelNonReplied (int tunnelLength)
178 {

Callers 1

Calls 1

GetSecondsSinceEpochFunction · 0.85

Tested by

no test coverage detected