JayDDee / cpuminer-opt

Optimized multi algo CPU miner
Other
770 stars 544 forks source link

auto-switch to another algo & server #137

Closed g5-freemen closed 6 years ago

g5-freemen commented 6 years ago

maybe it possible to config cpuminer-opt for switch to another algo and server (lyra2z at zergpool) if i receive error "stratum_recv_line failed" (after 1-12 hours of mining) using hodl at nicehash server? and may be it possible to make auto switch back if hodl algo will be available again?

JayDDee commented 6 years ago

That functionaity can be provided by a simple shell script (bat file) or one of the many mining managers available.

Don't get too concerned about those warnings, they just mean that the difficulty is too high so it takes too long to find a solution to submit and the stratum times out. If there are too many the stratum will disconnect and wait a specified time before trying to reconnect. You can shorten the retry wait time with the -R option. If reconnect fails then you should assume there is an error and change pools.