mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-15 22:01:09 +00:00
RNG per destination. Use RNG from tunnels in tunnel pool
This commit is contained in:
+3
-1
@@ -433,7 +433,9 @@ namespace garlic
|
||||
return ret;
|
||||
}
|
||||
|
||||
GarlicDestination::GarlicDestination (): m_NumTags (32), // 32 tags by default
|
||||
GarlicDestination::GarlicDestination ():
|
||||
m_Rng(i2p::util::GetMonotonicMicroseconds () % 1000000LL),
|
||||
m_NumTags (32), // 32 tags by default
|
||||
m_PayloadBuffer (nullptr), m_LastIncomingSessionTimestamp (0),
|
||||
m_NumRatchetInboundTags (0) // 0 means standard
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user