UNPKG

@chainsafe/libp2p-gossipsub

Version:
4 lines 295 B
import type { PeerScoreParams } from './peer-score-params.js'; import type { PeerStats } from './peer-stats.js'; export declare function computeScore(peer: string, pstats: PeerStats, params: PeerScoreParams, peerIPs: Map<string, Set<string>>): number; //# sourceMappingURL=compute-score.d.ts.map