xmrig / xmrig-proxy

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

Feature request #483

Open toxicroadkill opened 2 years ago

toxicroadkill commented 2 years ago

this is kind of a dual request for xmrig miner as well as xmrig-proxy

I run a large farm of monero miners all running xmrig, reporting to two proxy servers (for redundancy)

the more machines that are added, the more difficult it is keeping track of offline machines.

would it be possible for each miner to "check in" to the proxy server say every hour (or perhaps allowing the user to override a hour default), just give the proxy server a ping, "hey i am alive", the proxy server would keep track of the pings, and when requested on a api, report back a list of miners with the time since their last ping (using the proxy server's time as a base)

it would then be super easy to query the proxy server, get a list of the machines, and poof, a filed showing the time since the last ping.

would that be a doable feature, it seems like it would be pretty easy to do, just add a field in the json output with the last ping offset (proxy server time - the last ping for it)

and then on the miners report in with their ping every so often (hour default, but let the user override this)

i know they already report in with thier result hash, but with a mix of powerful machines, and some considered doorstops this time can vary a lot.

thoughts?

xc5DqV commented 2 years ago

Hey isn't this exactly what you're looking for?

https://github.com/bendr0id/xmrigCC/releases

It is an extended version of latest xmrig.

Some add-ons:

AND remote miner upgrade for new versions!