-
Notifications
You must be signed in to change notification settings - Fork 88
Closed
Description
(block(tip)->chainwork minus block(y)->chainwork) / *block(tip)->timestamp minus block(y)->timestamp)
This formula is wrong.
Network hashrate calculated using formula: H ~= h / t , where t is time that took to find X number of blocks and h is approximate number of hashes it should have taken to solve X number of blocks, h = X * (D * 2**256 / (0xffff * 2**208))
It's not supposed to be chainwork, it's supposed to be something like
number of blocks * (difficulty * 2^256/difficulty offset)
So unless these values somehow reduce to chainwork, I think the formula in use is wrong.
Originally posted by @Rock-N-Troll in #340 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels