@ -858,11 +858,17 @@ namespace data
@@ -858,11 +858,17 @@ namespace data
}
// leases
uint32_texpirationTime=0;// in seconds
intskipped=0;autonumLeasesPos=offset;
m_Buffer[offset]=num;offset++;// num leases
for(inti=0;i<num;i++)
{
autots=tunnels[i]->GetCreationTime()+i2p::tunnel::TUNNEL_EXPIRATION_TIMEOUT-i2p::tunnel::TUNNEL_EXPIRATION_THRESHOLD;// in seconds, 1 minute before expiration