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

nicehash: use hashrate sold, instead of hashrate produced #6

Closed
hossbeast opened this issue Jul 25, 2017 · 1 comment
Closed

nicehash: use hashrate sold, instead of hashrate produced #6

hossbeast opened this issue Jul 25, 2017 · 1 comment
Milestone

Comments

@hossbeast
Copy link
Owner

Nicehash has an api

stats.provider?addr=

which reports the hashing speed as measured by nicehash. It's refreshed every 30 seconds, but its not clear what time period its reporting. I can only guess its the trailing 30 seconds.

autominer currently uses hashing speed as reported locally, by monitoring the miner directly. The speed reported by nicehash is probably more useful. Also, I could compare the two and possibly alert the operator of a misconfiguration that will lead to choosing a suboptimal mining strategy.

@hossbeast hossbeast added this to the v1.3 milestone Jul 26, 2017
@hossbeast
Copy link
Owner Author

The data from this API looks like

{
  "profitability": "0.00001367",
  "data": [
    {
      "a": "109.52"
    },
    "0.00212766"
  ],
  "name": "Lyra2REv2",
  "suffix": "MH",
  "algo": 14
}

It's refreshed every 30 seconds, but it seems to be reporting on the trailing 5 minutes, so the data isn't useful until you've been mining that algo for 5 minutes.

(it continues to report a nonzero accepted speed after you stop mining an algo, which continually declines over 5 minutes, and then goes to zero).

@hossbeast hossbeast changed the title incorporate hashing speed as reported by nicehash nicehash: use hashing speed sold, instead of hashrate produced Aug 5, 2017
@hossbeast hossbeast changed the title nicehash: use hashing speed sold, instead of hashrate produced nicehash: use hashrate sold, instead of hashrate produced Aug 5, 2017
@hossbeast hossbeast modified the milestones: v1.3, v2.0 Feb 25, 2018
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