|
|
@ -46,9 +46,9 @@ var ( |
|
|
|
allowedFutureBlockTimeSeconds = int64(15) // Max seconds from current time allowed for blocks, before they're considered future blocks
|
|
|
|
allowedFutureBlockTimeSeconds = int64(15) // Max seconds from current time allowed for blocks, before they're considered future blocks
|
|
|
|
|
|
|
|
|
|
|
|
// calcDifficultyEip3554 is the difficulty adjustment algorithm as specified by EIP 3554.
|
|
|
|
// calcDifficultyEip3554 is the difficulty adjustment algorithm as specified by EIP 3554.
|
|
|
|
// It offsets the bomb a total of 9.5M blocks.
|
|
|
|
// It offsets the bomb a total of 9.7M blocks.
|
|
|
|
// Specification EIP-3554: https://eips.ethereum.org/EIPS/eip-3554
|
|
|
|
// Specification EIP-3554: https://eips.ethereum.org/EIPS/eip-3554
|
|
|
|
calcDifficultyEip3554 = makeDifficultyCalculator(big.NewInt(9500000)) |
|
|
|
calcDifficultyEip3554 = makeDifficultyCalculator(big.NewInt(9700000)) |
|
|
|
|
|
|
|
|
|
|
|
// calcDifficultyEip2384 is the difficulty adjustment algorithm as specified by EIP 2384.
|
|
|
|
// calcDifficultyEip2384 is the difficulty adjustment algorithm as specified by EIP 2384.
|
|
|
|
// It offsets the bomb 4M blocks from Constantinople, so in total 9M blocks.
|
|
|
|
// It offsets the bomb 4M blocks from Constantinople, so in total 9M blocks.
|
|
|
|