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

Data granularity: get_network_difficulty vs get_network_hashrate #4

Open
PlebeiusGaragicus opened this issue Jun 18, 2022 · 0 comments

Comments

@PlebeiusGaragicus
Copy link

Pulling one year of data from both of these functions returns interesting results:

get_network_hashrate( ) returns a single data point per day - 366 data points
yet, get_network_difficulty( ) returns two data points per day - 730 data points

Is this the correct granularity to return? Network difficulty changes once every ~2 weeks yet network hashrate estimates changes with every new block. I was expecting these functions to return the reverse case.

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