mirror of
https://github.com/xmrig/xmrig.git
synced 2026-01-23 14:52:52 -05:00
Better support for Round Robin DNS, related https://github.com/fireice-uk/xmr-stak-cpu/pull/220
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
*/
|
||||
|
||||
|
||||
#include <ctime>
|
||||
#include <memory>
|
||||
|
||||
|
||||
@@ -43,6 +44,8 @@ Network::Network(const Options *options) :
|
||||
m_accepted(0),
|
||||
m_rejected(0)
|
||||
{
|
||||
std::srand(std::time(0) ^ (uintptr_t) this);
|
||||
|
||||
Workers::setListener(this);
|
||||
m_agent = userAgent();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user