Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More hash estimates #45

Open
fridokus opened this issue May 19, 2020 · 2 comments
Open

More hash estimates #45

fridokus opened this issue May 19, 2020 · 2 comments

Comments

@fridokus
Copy link

I love statoshi.info.

I'm viewing the mining page a lot to track the hashrate after the halving.

I'm wondering if it's possible to add more panels with estimations of the hashrate using more blocks in the calculation. Currently we can only see an estimation based on 120 blocks (20 hours). It would be nice to also be able to see for example 50 and 100 hours.

I would create a pull request for this myself but I'm too bad at cpp to be able to figure out how. I see that we need to change request in this line to not use the default 120 in getnetworkhashps but instead 300 and 600.

statsClient.gauge("network.exahashesPerSecond", getnetworkhashps(request).get_real() / 1e18);

BR,
Fridokus

@fridokus
Copy link
Author

If anyone has an idea on how to modify this request parameter to add an arg I could try to implement it :)

@fridokus
Copy link
Author

fridokus commented Nov 3, 2020

120 blocks means that we on average get

>>> 1 / math.sqrt(120) 0.09128709291752768

9% estimation error! We need an estimate that uses more blocks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant