common GetRngSeed to initialize std::mt19937

This commit is contained in:
orignal committed 2026-08-21 10:51:44 -04:00
1 parent 264a9af7a3
commit cac6c53ccb
13 files changed
+121 -112

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ namespace data
NetDb::NetDb (): m_IsRunning (false), m_Thread (nullptr), m_Reseeder (nullptr),
m_Storage("netDb", "r", "routerInfo-", "dat"), m_PersistProfiles (true),
m_NetDbPersistInterval (NETDB_MIN_PERSIST_INTERVAL*1000LL),
m_LastExploratorySelectionUpdateTime (0), m_Rng(i2p::util::GetMonotonicMicroseconds () % 1000000LL)
m_LastExploratorySelectionUpdateTime (0), m_Rng(i2p::util::GetRngSeed ())
{
}