Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Add gossipsub with a default config #11

Closed
Tracked by #1
matjazv opened this issue Nov 18, 2022 · 0 comments · Fixed by #28
Closed
Tracked by #1

Add gossipsub with a default config #11

matjazv opened this issue Nov 18, 2022 · 0 comments · Fixed by #28
Assignees
Milestone

Comments

@matjazv
Copy link
Contributor

matjazv commented Nov 18, 2022

Description

Introduce gossipsub module into libp2p module by implementing following requirements:

  • Peer is able to broadcast information/message to all connected peers
  • Implement/update unittests.

Implement and use features which are useful for new P2P package. Features to be considered (list is not complete):

  • Outbound mesh quotas
  • Explicit peering agreements
  • List of bootstrapper nodes
  • Opportunistic grafting
  • Prune peer eXchange
  • Extended message validators
  • Peer scoring
  • Peer banning

Acceptance Criteria

  • P2P module supports above features from gossipsub module.
  • Peers are able to communicate using gossipsub features (explicit peering agreements, peer scoring/banning, outbound mesh quotas, etc.).
  • Peer can broadcast message to all connected peers in the same mesh.
  • All new code is unit tested.

Additional Information

@hrmhatef hrmhatef self-assigned this Nov 30, 2022
@Madhulearn Madhulearn added this to the Sprint 2 milestone Dec 6, 2022
@Madhulearn Madhulearn modified the milestones: Sprint 2, Sprint 3 Dec 19, 2022
@Madhulearn Madhulearn modified the milestones: Sprint 3, Sprint 4 Jan 3, 2023
shuse2 pushed a commit that referenced this issue Jan 11, 2023
### What was the problem?

This PR resolves #11 

### How was it solved?
- Introduce new `pkg`, `pubsub` in `v2` of `p2p`

### How was it tested?
 - Add some new unit test
 - Add a simple app to test the functionality of the new `pkg` 
 - All test passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants