mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-08-27 22:35:02 +00:00
global peer tests
This commit is contained in:
@@ -461,6 +461,16 @@ namespace transport
|
||||
m_Introducers = newList;
|
||||
ScheduleIntroducersUpdateTimer ();
|
||||
}
|
||||
}
|
||||
|
||||
void SSUServer::NewPeerTest (uint32_t nonce)
|
||||
{
|
||||
m_PeerTests[nonce] = i2p::util::GetMillisecondsSinceEpoch ();
|
||||
}
|
||||
|
||||
void SSUServer::PeerTestComplete (uint32_t nonce)
|
||||
{
|
||||
m_PeerTests.erase (nonce);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user