[Solved] Formula Hashrate of a block?
-
Hello,
I found out that my formula for computing the hash-rate of a block may be inaccurate here it is:hashrateOfaBlock = (difficultyOfaBlock * pow(2,32)) / (150*1000.00);
150secs are the 2,5 minutes as retarget time.
If I compute all Blocks of the 16. January I get: 6,028,893.322 Khash/sec
But on bitinfocharts I get 6.69 Mhash/sec ([url=http://bitinfocharts.com/comparison/hashrate-ftc.html]http://bitinfocharts.com/comparison/hashrate-ftc.html[/url])What could be wrong?
Best regards an happy weekend: coinora
-
You are using an “imagined” block time. Not the real one.
i.e. The difficulty of the next block is not future predicted, it is of the previous block. The block time will never be 150 secs, it will vary around that figure. Depending on the current variability of network hash rate.
So you need get the actual block times for each block.