mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
global peer tests
This commit is contained in:
parent
eee968ce56
commit
e250628174
3 changed files with 20 additions and 1 deletions
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue