mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 02:40:45 +00:00
attack recover (#243)
This commit is contained in:
parent
436faf34e1
commit
556f98a51b
1 changed files with 16 additions and 0 deletions
|
|
@ -126,6 +126,22 @@ var (
|
||||||
WaitPeriod: 2,
|
WaitPeriod: 2,
|
||||||
MinePeriod: 2,
|
MinePeriod: 2,
|
||||||
},
|
},
|
||||||
|
1512000: {
|
||||||
|
SwitchRound: 1512000,
|
||||||
|
CertThreshold: 50, // attack fix by reduce this number
|
||||||
|
TimeoutSyncThreshold: 5,
|
||||||
|
TimeoutPeriod: 25,
|
||||||
|
WaitPeriod: 2,
|
||||||
|
MinePeriod: 2,
|
||||||
|
},
|
||||||
|
1514000: {
|
||||||
|
SwitchRound: 1514000,
|
||||||
|
CertThreshold: 73, // recover back to normal number, expect all nodes is back into masternode list
|
||||||
|
TimeoutSyncThreshold: 5,
|
||||||
|
TimeoutPeriod: 25,
|
||||||
|
WaitPeriod: 2,
|
||||||
|
MinePeriod: 2,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
UnitTestV2Configs = map[uint64]*V2Config{
|
UnitTestV2Configs = map[uint64]*V2Config{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue