jtgrassie / monero-pool

A Monero mining pool server written in C
BSD 3-Clause "New" or "Revised" License
344 stars 125 forks source link

Two questions, first: It is possible to get in some way connected miners wtih their --rig-id? #105

Closed ghost closed 3 years ago

ghost commented 3 years ago

I check the logs and I see that monero-pool supports --rig-id but can I get this value in some way from pool? I checked in LMDB data.mdb and I did not find anything related.

Second: How to calculate current miner mining speed in terms H/s?

ghost commented 3 years ago

Ok I see in webui.c there is /workers path but I get empty array when 1 miner is connected

ghost commented 3 years ago

Ok I have made some search in code and find out that need add in cookies "wa={address}", but seriously? COOKIES? :smile:

ghost commented 3 years ago

Ok I also see that in response there is also worker hashrate based on 2 last minutes, so again I answered myself again, THANKS :smiley:

jtgrassie commented 3 years ago

@moneroist

but seriously? COOKIES?

There are plenty of legitimate uses of cookies, this is one of them.