6 ms·
Each node independently comes to the new difficulty on their own in an entirely deterministic way. After 2 weeks there should be 2016 blocks mined, 1 block eve
by johnpaulkiser 6y ago
Each node independently comes to the new difficulty on their own in an entirely deterministic way.
After 2 weeks there should be 2016 blocks mined, 1 block every 10 minutes. After each 2 week period every node recalculates the new difficulty based on the actual number of blocks mined in the last 2 weeks. If the actual number of blocks produced was 25% higher than the target of 2016, then simply increase the difficulty by 25%.
- martinko 6y agoThanks. Given that this relies on subjective timestamps, is this really entirely deterministic? I can imagine that one node counted 2014 blocks in the past two weeks, another 2015. What happens in such cases?
- tromp 6y agoDifficulty only changes at heights that are a multiple of 2016.
- deleted 6y ago[deleted]