Snipa22 / nodejs-pool

Other
481 stars 421 forks source link

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

Closed nullptr-null closed 5 years ago

nullptr-null commented 5 years ago

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

bobbieltd commented 5 years ago

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.