Post
Topic
Board Announcements (Altcoins)
Merits 4 from 1 user
Re: [ANN] Datacoin - Censorship-Free Data Storage
by
gjhiggins
on 06/07/2021, 09:29:28 UTC
⭐ Merited by xandry (4)
How can I see the Network Hash Rate?

I tried with getmininginfo, getblockchaininfo, getnettotals... but there isn't

Is this https://bitcoin.stackexchange.com/questions/11139/how-is-the-network-hash-rate-calculated valid for Datacoin, too?
It's getnetworkhashps but it's only in the 0.16.3 client (don't use it for txs) and was transcribed from the corresponding code in the unreleased Primecoin branch "primecoin-0.16.3". Its accuracy in terms of representing hashpower is questionable but its representation of relative variation should be a bit more reliable. I don't know why CrossVerse didn't include it in the 0.15.99 code, maybe it's profoundly unreliable.

You are correct in your observation that it is based on an inference: “The hashrate can be calculated from the expected rate of finding a block (1440 a day), the actual rate of finding a block and the current difficulty”.

I reworked the plot in my own client to show a full week's worth (10080 blocks), the plot shows that difficulty is still adjusting to the new network hash rate:



Cheers

Graham