mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-22 15:59:26 +00:00
consensus/ethash: change eip3554 from 9.5M to 9.7M (#22870)
This commit is contained in:
parent
597ecb39cc
commit
14bc6e5130
1 changed files with 2 additions and 2 deletions
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue