diff --git a/consensus/ethash/consensus.go b/consensus/ethash/consensus.go index 49929be7fb..0ecf74e3f9 100644 --- a/consensus/ethash/consensus.go +++ b/consensus/ethash/consensus.go @@ -36,14 +36,14 @@ import ( // Ethash proof-of-work protocol constants. var ( - FrontierBlockReward *big.Int = big.NewInt(5e+18) // Block reward in wei for successfully mining a block - ByzantiumBlockReward *big.Int = big.NewInt(3e+18) // Block reward in wei for successfully mining a block upward from Byzantium + FrontierBlockReward *big.Int = big.NewInt(5e+18) // Block reward in wei for successfully mining a block + ByzantiumBlockReward *big.Int = big.NewInt(3e+18) // Block reward in wei for successfully mining a block upward from Byzantium SocialBlockReward *big.Int = new(big.Int).Mul(big.NewInt(50), big.NewInt(1e+18)) // Block reward in wei for successfully mining a block upward for Ethereum Social - maxUncles = 2 // Maximum number of uncles allowed in a single block - allowedFutureBlockTime = 15 * time.Second // Max time from current time allowed for blocks, before they're considered future blocks - DisinflationRateQuotient = big.NewInt(4) // Disinflation rate quotient for ECIP1017 - DisinflationRateDivisor = big.NewInt(5) // Disinflation rate divisor for ECIP1017 - ExpDiffPeriod = big.NewInt(100000) // Exponential diff period for ECIP1010 + maxUncles = 2 // Maximum number of uncles allowed in a single block + allowedFutureBlockTime = 15 * time.Second // Max time from current time allowed for blocks, before they're considered future blocks + DisinflationRateQuotient = big.NewInt(4) // Disinflation rate quotient for ECIP1017 + DisinflationRateDivisor = big.NewInt(5) // Disinflation rate divisor for ECIP1017 + ExpDiffPeriod = big.NewInt(100000) // Exponential diff period for ECIP1010 ) // Various error messages to mark blocks invalid. These should be private to