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

Method GetLocalDelay

libi2pd/Transports.cpp:1377–1380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1375 }
1376
1377 int Transports::GetLocalDelay () const
1378 {
1379 return (i2p::context.GetStatus () == eRouterStatusProxy) ? 1000 : 0; // 1 sec for proxy. TODO: implement param
1380 }
1381
1382 bool Transports::IsInReservedRange (const boost::asio::ip::address& host) const
1383 {

Callers 1

IsSlowMethod · 0.80

Calls 1

GetStatusMethod · 0.45

Tested by

no test coverage detected