dotnet-libp2p
dotnet-libp2p copied to clipboard
Peer scoring in pubsub
Peer scoring improves security and resilience of pubsub based systems. Let's add scoring for gossipsub protocols.
Peer scoring was introduced in Gossipsub/1.1 https://github.com/libp2p/specs/blob/master/pubsub/gossipsub/gossipsub-v1.1.md#peer-scoring. We need to:
- [ ] Add settings. Code you can copy-paste https://github.com/NethermindEth/dotnet-libp2p/pull/48/files#diff-286f0fd5b5357ac650f6aaa3df9913709dd0a490d0d6fc144d79655a7f4ff7edL1
- [ ] Add score to peers, most likely it can be held in
peerStatein PubsubRouter - [ ] Change score values depending on messages received, etc
Hi @flcl42, could you explain a little about what needs to be done? I would love to pick this up.
Hi @flcl42, could you explain a little about what needs to be done? I would love to pick this up.
I've improved the description a bit. Feel free to ask any questions here or in discord/tg.