Skip to content

Commit

Permalink
update config for fix (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
liam-lai authored Apr 15, 2023
1 parent 95d1221 commit 2135e2b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions params/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,22 @@ var (
WaitPeriod: 2,
MinePeriod: 2,
},
1962900: {
SwitchRound: 1962900,
CertThreshold: 50, // attack fix by reduce this number
TimeoutSyncThreshold: 5,
TimeoutPeriod: 25,
WaitPeriod: 2,
MinePeriod: 2,
},
1964900: {
SwitchRound: 1964900,
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{
Expand Down

0 comments on commit 2135e2b

Please sign in to comment.