6 ms·
It is computed using only information embedded in the block chain, specifically the timestamps of blocks 2016 * i and 2016 * (i+1).
by tromp 6y ago
It is computed using only information embedded in the block chain, specifically the timestamps of blocks 2016 * i and 2016 * (i+1).
- martinko 6y agoBut aren't blockchain timestamps unreliable? It was my understanding that difficulty was based on subjective node timestamps..
- tromp 6y agoThe miner embeds their current (local) timestamp in the header, so there can be small variations. In fact the only requirement on the next timestamp is that it not be less than the median of the past 11 timestamps. Once embedded in the header, everyone will agree on past timestamps as they agree on the chain with the most accumulated difficulty.