Snipa22/nodejs-pool

Miner client-Xmrig.exe,encounter issue of 'Bad share or Low difficulty share',come on,help me,crying !!!

nullptr-null opened this issue · 1 comments

Every pool moudue process running OK,xmrig miner connecting OK,but i met problem that from log or code,such as "Bad share from miner" ,"invalidShare","Low difficulty share",maybe miner client does not support node.js-pool or algorithm wrong,help,help,help,online waiting!!!

log below:
xmrig_log
pool_error_log

I guess blob version of other coins less than 7.
Edit lib/coins/xmr.js or xxx.js (coin name javascript) change
this.cryptoNight = function(convertedBlob) {
return multiHashing.cryptonight(convertedBlob, convertedBlob[0] >= 7 ? convertedBlob[0] - 6 : 0);
}

—> to —>
this.cryptoNight = function(convertedBlob) {
return multiHashing.cryptonight(convertedBlob, 1);
}

It will solve.