Searched defs:PeerScoreParams (Results 1 – 3 of 3) sorted by relevance
52 type PeerScoreParams struct { struct54 Topics map[string]*TopicScoreParams58 TopicScoreCap float6461 AppSpecificScore func(p peer.ID) float6462 AppSpecificWeight float6472 IPColocationFactorWeight float6473 IPColocationFactorThreshold int85 BehaviourPenaltyWeight, BehaviourPenaltyThreshold, BehaviourPenaltyDecay float6488 DecayInterval time.Duration91 DecayToZero float64[all …]
175 func newPeerScore(params *PeerScoreParams) *peerScore {
205 func WithPeerScore(params *PeerScoreParams, thresholds *PeerScoreThresholds) Option {