mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
Add config epoch for puppeth cli.
This commit is contained in:
parent
fdcd97950d
commit
2085e02f2c
2 changed files with 4 additions and 3 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
|
@ -1,3 +0,0 @@
|
||||||
[submodule "tests"]
|
|
||||||
path = tests/testdata
|
|
||||||
url = https://github.com/ethereum/tests
|
|
||||||
|
|
@ -103,6 +103,10 @@ func (w *wizard) makeGenesis() {
|
||||||
copy(genesis.ExtraData[32+i*common.AddressLength:], signer[:])
|
copy(genesis.ExtraData[32+i*common.AddressLength:], signer[:])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fmt.Println()
|
||||||
|
fmt.Println("How many blocks per checkpoint? (default = 990)")
|
||||||
|
genesis.Config.Clique.Epoch = uint64(w.readDefaultInt(990))
|
||||||
|
|
||||||
default:
|
default:
|
||||||
log.Crit("Invalid consensus engine choice", "choice", choice)
|
log.Crit("Invalid consensus engine choice", "choice", choice)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue