stratum method client.reconnect not supported #41
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
I assume that
BitAxe
miner doesn't support stratum method client.reconnect. It is used in pool MiningRigRentals, to redirect miner from default TCP port (like 3333) to dynamically allocated TCP port. Most well known miners supports this method, for examplecgminer
,bfgminer
,gminer
and many others...Demo configuration, for test.
cpuminer
tested at Linux PC:Show miner version:
Start miner:
Notice that miner was redirected from TCP port 3311 to port 52211; this port was allocated dynamically and will change in the future...
Details about protocol are visible when script is started with
-P
parameter:Notice request
{"method": "client.reconnect", "id": 0, "error": null, "params": ["eu-01.miningrigrentals.com","52211"]}
sent to the miner...I reviewed code for BitAxe miner and I assume that client.reconnect support is missing...
When miner doesn't support (or ignore) redirection request, it is disconnected from MRR, this can be demonstrated with cpuminer:
Example of miner that added missing support for client.reconnect is
gminer
Maybe you wonder why support for client.reconnect should be added. Well, MRR allows easy reconfiguration of connected miners and it allows failover pools. Create account at MRR, flash BitAxe with configuration to connect to MRR and you can use MRR pool to change mining pool without reflashing firmware in BitAxe. Alternatively, you can run local stratum proxy, like ckpool, in that case you do not need MRR...
The text was updated successfully, but these errors were encountered: