mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-20 21:54:30 +00:00
update default 1 epoch = 900 blocks and gap = 450
This commit is contained in:
parent
e5ca34b737
commit
b2593aa0c3
1 changed files with 4 additions and 4 deletions
|
|
@ -159,13 +159,13 @@ func (w *wizard) makeGenesis() {
|
|||
}
|
||||
|
||||
fmt.Println()
|
||||
fmt.Println("How many blocks per epoch? (default = 990)")
|
||||
epochNumber := w.readDefaultInt(990)
|
||||
fmt.Println("How many blocks per epoch? (default = 900)")
|
||||
epochNumber := w.readDefaultInt(900)
|
||||
genesis.Config.XDPoS.RewardCheckpoint = uint64(epochNumber)
|
||||
|
||||
fmt.Println()
|
||||
fmt.Println("How many blocks before checkpoint need to prepare new set of masternodes? (default = 50)")
|
||||
genesis.Config.XDPoS.Gap = uint64(w.readDefaultInt(50))
|
||||
fmt.Println("How many blocks before checkpoint need to prepare new set of masternodes? (default = 450)")
|
||||
genesis.Config.XDPoS.Gap = uint64(w.readDefaultInt(450))
|
||||
|
||||
// Validator Smart Contract Code
|
||||
pKey, _ := crypto.HexToECDSA("b71c71a67e1177ad4e901695e1b4b9ee17ae16c6668d313eac2f96dbcda3f291")
|
||||
|
|
|
|||
Loading…
Reference in a new issue