forked from cerc-io/plugeth
consensus/ethash: change eip3554 from 9.5M to 9.7M (#22870)
This commit is contained in:
parent
597ecb39cc
commit
14bc6e5130
@ -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 New Issue
Block a user