xmr-node-proxy
xmr-node-proxy copied to clipboard
function detectAlgo messed up
Setting common algo: [] with algo-perf: {"cn":1,"cn/half":1.9} for pool .... bad share, bad share, bad share ..... Can't not correctly detect block template algorithm from the list of provided default algorithms (please reduce it to single item):
(no algorithms showed)
That is what I get with current version 8.0.1. (everything was fine during months on 0.3.x) Sometimes it works like a charm on this new version but not for long... and everything turns to bad shares for all miners... really unstable... I'm mining only xmr cn/2 so I "fixed" it by replacing the lib/xmr.js function by :
function detectAlgo(default_pool_algo_set, block_version) {
return block_version >= 10 ? "cn/r" : "cn/2";
}
I didnt look further but it seems "default_pool_algo_set" was "undefined" during the issue.