Refactored RNG usage across the code

This commit is contained in:
SChernykh
2022-03-17 16:14:29 +01:00
parent 62b1690780
commit c21d052d7a
9 changed files with 32 additions and 28 deletions
-2
View File
@@ -19,7 +19,6 @@
#include "tcp_server.h"
#include <rapidjson/document.h>
#include <random>
namespace p2pool {
@@ -109,7 +108,6 @@ private:
std::atomic<uint32_t> m_extraNonce;
uv_mutex_t m_rngLock;
std::random_device m_rd;
std::mt19937_64 m_rng;
struct SubmittedShare