mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
global peer tests
This commit is contained in:
10
SSU.cpp
10
SSU.cpp
@@ -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