RNG per destination. Use RNG from tunnels in tunnel pool

This commit is contained in:
orignal
2025-12-11 17:43:14 -05:00
parent d4ec15361f
commit 4f73e9678e
13 changed files with 33 additions and 56 deletions
+3 -1
View File
@@ -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
{