kralverde / ravencoin-stratum-proxy

14 stars 17 forks source link

Missing Hashrate on Proxy window #13

Closed i8088 closed 1 year ago

i8088 commented 1 year ago

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

kralverde commented 1 year 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 1 year ago

@Seal-Clubber

Seal-Clubber commented 1 year 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 1 year ago

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