Types
libp2p_gossipsub_peers_rate_limit_hits = IgnoredCollector
- Source Edit
Procs
func byScore(x, y: PubSubPeer): int {....raises: [], tags: [].}
- Source Edit
proc disconnectIfBadScorePeer(g: GossipSub; peer: PubSubPeer; score: float64) {. ...raises: [], tags: [WriteIOEffect, TimeEffect, RootEffect].}
- Source Edit
proc disconnectPeer(g: GossipSub; peer: PubSubPeer): Future[void] {. stackTrace: false, ...raises: [], gcsafe, tags: [RootEffect].}
- Source Edit
proc init(_: type[TopicParams]): TopicParams {....raises: [].}
- Source Edit
proc punishInvalidMessage(g: GossipSub; peer: PubSubPeer; msg: Message): Future[ void] {.stackTrace: false, ...raises: [], gcsafe, tags: [RootEffect].}
- Source Edit
proc rewardDelivered(g: GossipSub; peer: PubSubPeer; topic: string; first: bool; delay = ZeroDuration) {....raises: [], tags: [RootEffect].}
- Source Edit
proc scoringHeartbeat(g: GossipSub): Future[void] {.stackTrace: false, ...raises: [], gcsafe, tags: [RootEffect].}
- Source Edit
proc updateScores(g: GossipSub) {....raises: [], tags: [WriteIOEffect, TimeEffect, RootEffect].}
- https://github.com/libp2p/specs/blob/master/pubsub/gossipsub/gossipsub-v1.1.md#the-score-function Source Edit