Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Alex-Werner/00ce1086213395004db355653dde2953 to your computer and use it in GitHub Desktop.
Save Alex-Werner/00ce1086213395004db355653dde2953 to your computer and use it in GitHub Desktop.
How to calculate Dash network hashrate
You will need :
Actual diff (find it here http://insight.dash.org/insight/status).
Expected number of block per day (576 : 1blk every 2.5min. 1440min / 2.5).
Real number of block found that day.
Algo is : D*2**32/150, or also other term : BlkFound/BlkExpected*Diff*2**32/150.
With exemple as of data today :
diff = 400250.1804901968.
Block found today = 550
Block expected per day = 576 (constant).
We have 1.1460409569489950030692352 × 10^13 = 11.46 TH.
Or just have the direct answer using getnetworkhashps RPC command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment