Skip to content

Commit

Permalink
reduce mainnet and testnet timeout to 10s (#784)
Browse files Browse the repository at this point in the history
* reduce mainnet timeout to 10s

* reduce testnet to 10seconds

---------

Co-authored-by: liam.lai <liam.lai@us>
  • Loading branch information
benjamin202410 and liam.lai authored Dec 31, 2024
1 parent ba5abba commit c59b8b8
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 @@ -80,6 +80,14 @@ var (
TimeoutPeriod: 20,
MinePeriod: 2,
},
3200000: {
MaxMasternodes: 108,
SwitchRound: 3200000,
CertThreshold: 0.667,
TimeoutSyncThreshold: 3,
TimeoutPeriod: 10,
MinePeriod: 2,
},
}

TestnetV2Configs = map[uint64]*V2Config{
Expand All @@ -99,6 +107,14 @@ var (
TimeoutPeriod: 30,
MinePeriod: 2,
},
15000000: {
MaxMasternodes: 108,
SwitchRound: 15000000,
CertThreshold: 0.667,
TimeoutSyncThreshold: 3,
TimeoutPeriod: 10,
MinePeriod: 2,
},
}

DevnetV2Configs = map[uint64]*V2Config{
Expand Down

0 comments on commit c59b8b8

Please sign in to comment.