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

View File

@@ -18,7 +18,6 @@
#pragma once
#include "tcp_server.h"
#include <random>
namespace p2pool {
@@ -170,7 +169,6 @@ private:
void remove_peer_from_list(const raw_ip& ip);
uv_mutex_t m_rngLock;
std::random_device m_rd;
std::mt19937_64 m_rng;
uv_mutex_t m_blockLock;