Skip to content

Commit

Permalink
attack recover (ethereum#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
liam-lai authored Mar 31, 2023
1 parent 436faf3 commit 556f98a
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 @@ -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{
Expand Down

0 comments on commit 556f98a

Please sign in to comment.