kralverde / ravencoin-stratum-proxy

15 stars 18 forks source link

Missing Hashrate on Proxy window #13

Closed i8088 closed 2 years ago

i8088 commented 2 years ago

I have 1250 Mh/s total and 8 worker . But Proxy say ; 120-300 mh /s .. is it normal ? rvnhash

kralverde commented 2 years ago

yeah the hashrate currently only reports for a single miner, a pr is in the works for the total hashrate. (can be read as the hashrate of client id....)

kralverde commented 2 years ago

@Seal-Clubber

Seal-Clubber commented 2 years ago

Hashrate branch doesn't use new libs, It works as long as you don't restart your miner since that causes it to send out a new ClientID, and the old ID has no mechanism to remove it after some inactivity.

OR use Hashrate-dictlib branch which uses the Expiring-dict library, it removes inactive ClientIDs every 2minutes. I did some quick testing and it seems to work, but would love to have someone test it for a longer period of time.

kralverde commented 2 years ago

https://github.com/kralverde/ravencoin-stratum-proxy/pull/17