|
|
|
@ -38,10 +38,10 @@ 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
|
|
|
|
|
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
|
|
|
|
|
FrontierBlockReward = big.NewInt(5e+18) // Block reward in wei for successfully mining a block
|
|
|
|
|
ByzantiumBlockReward = big.NewInt(3e+18) // Block reward in wei for successfully mining a block upward from Byzantium
|
|
|
|
|
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
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
// Various error messages to mark blocks invalid. These should be private to
|
|
|
|
|