mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-22 15:21:45 +00:00
RNG per destination. Use RNG from tunnels in tunnel pool
This commit is contained in:
1 parent
d4ec15361f
commit
4f73e9678e
13 files changed
+33
-56
No files matched your search
+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