You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wow, does this code still work? I made it 9 years ago...
To be honest, I don't remember exactly how to compute the hashrate from shares. However, I do believe you would need the difficulty in order to compute the hashrate. It should be something like this:
hashRate= (difficulty × number of shares) / time
The difficulty is the current difficulty level of the mining operation.
The number of shares is the number of shares that the miner has solved.
The time is the time period over which the number of shares were solved.
The result of this forumla whould be Hashes/second, so you might want to transform it to Mega or Giga Hashes.
Hello @p4u
tell me please, how i can get hashrate of worker?
i know, i can call
echo '{ "query":"getshares" }' | nc 127.0.0.1 4444
but it return only shares, i don't know how convert shares to hashrate )
The text was updated successfully, but these errors were encountered: