attack recover (#243)

This commit is contained in:
Liam 2023-04-01 04:32:28 +11:00 committed by GitHub
parent 436faf34e1
commit 556f98a51b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -126,6 +126,22 @@ var (
WaitPeriod: 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{