fireice-uk / xmr-stak

Free Monero RandomX Miner and unified CryptoNight miner
GNU General Public License v3.0
4.06k stars 1.79k forks source link

Allow "pool_weight" to be set 0 to disable a pool which is in pools.txt #2405

Open feralfenrir opened 5 years ago

feralfenrir commented 5 years ago

Please explain the feature as good as possible. Currently, I use multiple pools.txt to switch between pools and currencies.

It would a lot easier to disable and enable pools if we were allowed to set pool_weight to zero.

Spudz76 commented 5 years ago

Drop or Reject the pool ip(s) you want to disable at your firewall Then failover can't choose from those, as they won't be there to connect to.

Or that's how I'd manage it. Don't you have to relaunch the whole miner to reset a pool_weight anyway? More disruptive than just blocking the pools administratively (while letting the miner continue to run as-is). Then it just jumps to the next pool as if the blacklisted one had fallen off the Internet.

Also why not just // or /* ... */comment out to disable?