mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-24 15:44:32 +00:00
parent
6493744500
commit
450a63fc8c
2 changed files with 9 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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{
|
||||
|
|
|
|||
Loading…
Reference in a new issue