zone117x/node-multi-hashing

Cannot call method 'apply' of undefined - causes [PoolSpawner] Fork 1 died, spawning replacement worker.

Closed this issue · 2 comments

When I enable a groest pool in nomp, if a worker connects to the pool the connections constantly dies and reconnects - no stable connection.

/root/nomp/node_modules/stratum-pool/lib/algoProperties.js:132
return multiHashing.groestl.apply(this, arguments);
^
TypeError: Cannot call method 'apply' of undefined
at /root/nomp/node_modules/stratum-pool/lib/algoProperties.js:132:45
at JobManager.processShare (/root/nomp/node_modules/stratum-pool/lib/jobManager.js:218:26)
at null. (/root/nomp/node_modules/stratum-pool/lib/pool.js:495:46)
at emit (events.js:117:20)
at handleSubmit (/root/nomp/node_modules/stratum-pool/lib/stratum.js:159:15)
at handleMessage (/root/nomp/node_modules/stratum-pool/lib/stratum.js:72:17)
at /root/nomp/node_modules/stratum-pool/lib/stratum.js:232:25
at Array.forEach (native)
at Socket. (/root/nomp/node_modules/stratum-pool/lib/stratum.js:218:26)
at Socket.emit (events.js:95:17)
2014-07-06 00:59:01 [Master] [PoolSpawner] Fork 1 died, spawning replacement worker...

I updated to never version of multi-hashing and this was fixed.

I add new algo,get the same error...
var/www/nompnew/node_modules/stratum-pool/lib/algoProperties.js:115
return multiHashing.newalgo.apply(this, arguments);
^
TypeError: Cannot call method 'apply' of undefined
at /var/www/nompnew/node_modules/stratum-pool/lib/algoProperties.js:115:41
at JobManager.processShare (/var/www/nompnew/node_modules/stratum-pool/lib/jobManager.js:219:26)
at null. (/var/www/nompnew/node_modules/stratum-pool/lib/pool.js:495:46)
at emit (events.js:117:20)
at handleSubmit (/var/www/nompnew/node_modules/stratum-pool/lib/stratum.js:159:15)
at handleMessage (/var/www/nompnew/node_modules/stratum-pool/lib/stratum.js:72:17)
at /var/www/nompnew/node_modules/stratum-pool/lib/stratum.js:232:25
at Array.forEach (native)
at Socket. (/var/www/nompnew/node_modules/stratum-pool/lib/stratum.js:218:26)
at Socket.emit (events.js:95:17)
2014-08-22 14:32:20 [Master] [PoolSpawner] Fork 0 died, spawning replacement worker...