mirror of
https://github.com/logos-storage/nim-libp2p.git
synced 2026-01-07 16:13:10 +00:00
better opportunistic grafting score (when score is disabled) (#389)
This commit is contained in:
parent
853238a215
commit
0f2435f551
@ -177,7 +177,7 @@ proc init*(_: type[GossipSubParams]): GossipSubParams =
|
|||||||
gossipThreshold: -10,
|
gossipThreshold: -10,
|
||||||
publishThreshold: -100,
|
publishThreshold: -100,
|
||||||
graylistThreshold: -10000,
|
graylistThreshold: -10000,
|
||||||
opportunisticGraftThreshold: 1,
|
opportunisticGraftThreshold: 0,
|
||||||
decayInterval: 1.seconds,
|
decayInterval: 1.seconds,
|
||||||
decayToZero: 0.01,
|
decayToZero: 0.01,
|
||||||
retainScore: 10.seconds,
|
retainScore: 10.seconds,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user