miniZ: Got two pools working through one .conf file, thank you for all your suggestions!
Last two days when zergpool and zpool are not working well because of ddos atacks, i have tested miniz capability to switch between main and backup pools - need more work with error and info messages. Every 30 secs i see this: No error: connect - what problem with connect or it cant connect anywhere? I have to check gpu temperatures to see is it mining at all or is miner really not connected to any pool or what is going on? Every ~1,5 min i see this: Cannot connect to equihash192.mine.zergpool.com pool, reconnect in 5 seconds! Why reconnect in 5 seconds if it is down for many hours? Why then i see this error every 1,5 min if reconnect attempt is every 5 secs? This part of miner still need some work, too many weird messages. T-rex is very good example how it can be.
Hi somaton,
Nice that you managed to add the two pools and to use miniZ from the config file.
Regarding the messages, when miniZ cannot connect to the first mining pool (the first you define, in case there two or more pools defined by the user) it will start saying that it cannot connect.
If after a few quick attempts it cannot connect then it will connect to the second pool. However, it keeps trying to connect to the first pool.
If the miner cannot connect to any mining pool it will keep looping through the list of pools until it can connect somewhere, it still tries to reconnect to the first pool all the time.
The No error: connect message, just means that there was a failed attempt to connect, in this case because the pool is down.
The miner does not know when the pool will be back up, so it keeps trying, it does not matter for how long it was down.
Hope this helps to clarify some doubts. We'll have a look and review the messages in future releases.
Thanks for the feedback!
Cheers