mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 17:33:47 +00:00
Update consensus.go
This commit is contained in:
parent
bd57058b97
commit
e487f6c0d0
1 changed files with 2 additions and 2 deletions
|
|
@ -38,8 +38,8 @@ import (
|
|||
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
|
||||
maxUncles = 0 // Maximum number of uncles allowed in a single block
|
||||
allowedFutureBlockTime = 7 * 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
|
||||
|
|
|
|||
Loading…
Reference in a new issue