Skip to content

Commit 2135e2b

Browse files
authored
update config for fix (#248)
1 parent 95d1221 commit 2135e2b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

params/config.go

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,22 @@ var (
142142
WaitPeriod: 2,
143143
MinePeriod: 2,
144144
},
145+
1962900: {
146+
SwitchRound: 1962900,
147+
CertThreshold: 50, // attack fix by reduce this number
148+
TimeoutSyncThreshold: 5,
149+
TimeoutPeriod: 25,
150+
WaitPeriod: 2,
151+
MinePeriod: 2,
152+
},
153+
1964900: {
154+
SwitchRound: 1964900,
155+
CertThreshold: 73, // recover back to normal number, expect all nodes is back into masternode list
156+
TimeoutSyncThreshold: 5,
157+
TimeoutPeriod: 25,
158+
WaitPeriod: 2,
159+
MinePeriod: 2,
160+
},
145161
}
146162

147163
UnitTestV2Configs = map[uint64]*V2Config{

0 commit comments

Comments
 (0)