intro new timeout (#651)

* intro new timeout

* correct comment
This commit is contained in:
Liam 2024-09-30 16:48:38 -07:00 committed by GitHub
parent 6493744500
commit 450a63fc8c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 1 deletions

View file

@ -77,7 +77,7 @@ type peer struct {
knownVote mapset.Set // Set of BFT Vote known to be known by this peer
knownTimeout mapset.Set // Set of BFT timeout known to be known by this peer
knownSyncInfo mapset.Set // Set of BFT Sync Info known to be known by this peer`
knownSyncInfo mapset.Set // Set of BFT Sync Info known to be known by this peer
}
func newPeer(version int, p *p2p.Peer, rw p2p.MsgReadWriter) *peer {

View file

@ -48,6 +48,14 @@ var (
TimeoutPeriod: 30,
MinePeriod: 2,
},
2000: {
MaxMasternodes: 108,
SwitchRound: 2000,
CertThreshold: 0.667,
TimeoutSyncThreshold: 2,
TimeoutPeriod: 600,
MinePeriod: 2,
},
}
TestnetV2Configs = map[uint64]*V2Config{