Upgrade XMRig 6.19.0 to 6.19.1

This commit is contained in:
FSOL 2023-03-24 21:04:19 +01:00
parent 6e856ca39c
commit dae1c609c9
12 changed files with 32 additions and 21 deletions

View file

@ -174,8 +174,10 @@ void xmrig::Job::setSigKey(const char *sig_key)
int32_t xmrig::Job::nonceOffset() const
{
auto f = algorithm().family();
auto i = algorithm().id();
if (f == Algorithm::KAWPOW) return 32;
if (f == Algorithm::GHOSTRIDER) return 76;
if (i == Algorithm::RX_XDAG) return 60;
return 39;
}