Fix nicehash support, please note --nicehash option now specified per pool.

This commit is contained in:
XMRig 2017-07-01 22:37:27 +03:00
parent 263634f585
commit 8ec58a8394
12 changed files with 23 additions and 26 deletions

View file

@ -44,7 +44,7 @@ class Workers
public:
static Job job();
static void setJob(const Job &job);
static void start(int64_t affinity, bool nicehash);
static void start(int64_t affinity);
static void submit(const JobResult &result);
static inline bool isOutdated(uint64_t sequence) { return m_sequence.load(std::memory_order_relaxed) != sequence; }