1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-26 22:12:53 -05:00

Compare commits

...

2 Commits

Author SHA1 Message Date
MoneroOcean
9236bdae07 Duplicate share fix 2024-08-14 17:39:50 +03:00
SChernykh
13211f457c Always reset nonce on RandomX dataset change
Also never get a new job when mining is paused
2024-08-14 17:38:59 +03:00
3 changed files with 9 additions and 2 deletions

View File

@@ -389,7 +389,9 @@ void xmrig::CpuWorker<N>::start()
}
}
consumeJob();
if (!Nonce::isPaused()) {
consumeJob();
}
}
}

View File

@@ -576,6 +576,11 @@ void xmrig::Miner::setJob(const Job &job, bool donate)
# ifdef XMRIG_ALGO_RANDOMX
const bool ready = d_ptr->initRX();
// Always reset nonce on RandomX dataset change
if (!ready) {
d_ptr->reset = true;
}
# else
constexpr const bool ready = true;
# endif

View File

@@ -22,7 +22,7 @@
#define APP_ID "xmrig"
#define APP_NAME "XMRig"
#define APP_DESC "XMRig miner"
#define APP_VERSION "6.22.0-mo2"
#define APP_VERSION "6.22.0-mo3"
#define APP_DOMAIN "xmrig.com"
#define APP_SITE "www.xmrig.com"
#define APP_COPYRIGHT "Copyright (C) 2016-2024 xmrig.com"