xmrig / xmrig-proxy

Monero (XMR) Stratum protocol proxy
https://xmrig.com/proxy
GNU General Public License v3.0
613 stars 338 forks source link

Question: Multi pool: select pool instead of failover #498

Open R3yn4ld opened 2 years ago

R3yn4ld commented 2 years ago

Hello,

I'm using xmrig-proxy and have two pool configured, and several workers, not always online. I understand that the default behavior is to failover.

I'd like to have the following behavior:

I may write a bash script easily for that, getting the HR from API. For pool selection: is there an API put command or a config.json parameter?

If not, I may just change Pool 1 config which will trigger a live reload, but what is the behavior for connected workers regarding current jobs then?

Hope this is clear and thanks for answer/ideas :)

BR Reynald

High369 commented 2 years ago

Interested in a response. Following...

OlMi1 commented 1 year ago

Very late to the party but yes, the API endpoint /1/config should be what you're searching for.