UNOMP / unified-node-open-mining-portal

Development stopped and is now unsupported. The node.js version is being deprecated in October 2016.
GNU General Public License v2.0
347 stars 396 forks source link

mining.extranonce.subscribe #42

Closed Infernoman closed 9 years ago

Infernoman commented 9 years ago

Mintsy and a few of the other asic technologies are starting to use a feature called mining.extranonce.subscribe currently atleast in the nomp repo it is not supported this would have to do more with the node module stratum-pool for nomp and stratum-merged for unomp. This will also give us support for changing the extranonce for the miners that allow it on the fly and no longer have to re establish a connection https://github.com/int6/hpool-stratum/issues/1

currently the error provided when a miner with that stratum implementation tried to connect is Unknown stratum method from (unauthorized) [79.109.251.102]: mining.extranonce.subscribe

here is the file i am referencing https://github.com/sigwo/node-merged-pool/blob/master/lib/stratum.js#L62-L102

https://github.com/nicehash/cgminer-ckolivas/commit/4e9c7ce68ed91ec9189d83c35b2237aca65f2b7f

ahmedbodi commented 9 years ago

We dont really need this i dont think. unless the pool's going to be proxying hashrate

Infernoman commented 9 years ago

we already proxy hashrate ahmed. thats the problem, the profit switching port is just a proxy that switches between the pools. and when using extranonce.subscribe it lets the miners get the new work. without reconnecting to the pool.

Infernoman commented 9 years ago

so currently when the pool switches coins with the profit switching proxy. it makes the miners reconnect and can cause dropped hashrate.

ahmedbodi commented 9 years ago

ahh now that i didnt know. then yah i agree with implementing it

sigwo commented 9 years ago

Closing, but moved to node-merged-pool.

BitElysium commented 8 years ago

How can I delete or remove this error its stifling my mining operation. I am not using a profit switch or proxy, so the extranonce.subscribe error trips the system into an "Unauthorized Unknown Stratum Method"... In my opinion "extranonce.subscribe" is buggy