This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Assume difficulty retargets every 5 blocks for illustrative purposes | |
// Assume difficulty retargeting is done with block pairs (0, 5), (5, 10), (10, 15), ... | |
// (i.e. assuming we don't have to worry about time warp bug) | |
Block # Timestamp (relative to start) | |
0 0 | |
1 1 | |
2 2 |