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

Modified hash rate calculations #12

Merged
merged 5 commits into from
Apr 13, 2018
Merged

Modified hash rate calculations #12

merged 5 commits into from
Apr 13, 2018

Conversation

mining-visualizer
Copy link
Contributor

I tried to break things into different commits ... I don't know if it makes it easier for you or not

Summary of changes:

  • there were a couple of bugs in formatHashRate()
    • expressions like 10e3, 10e6 & 10e9 should have been 1e3, 1e6 & 1e9
    • The Math.round function only takes 1 parameter, so I added a new round() function
  • Changed the way hash rates were being estimated. Instead of averaging the hash rate associated with each share, it now sums up the difficulty of each share, and calculates a hash rate based on that.
  • Eliminated the hash rate column in the Submitted Share list on the Profile page.
  • Formatted the hash rate value at the top of the Profile page

@0xbitcoin 0xbitcoin merged commit 205d5e2 into 0xbitcoin:master Apr 13, 2018
@mining-visualizer mining-visualizer deleted the hashrate_pr branch April 13, 2018 02:24
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

Successfully merging this pull request may close these issues.

3 participants