Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Recon libp2p protocol to emit events about discovered peers #605

Open
4 tasks
nathanielc opened this issue Nov 20, 2024 · 0 comments
Open
4 tasks

Comments

@nathanielc
Copy link
Collaborator

Description

Once #604 is finished this is about driving the sync of the peers ring with other peers. Concretely this will update the libp2p Recon behavior.

DOD

  • The libp2p Recon behavior emits events when new peers are discovered
  • These events can then be consumed by other behaviors (i.e. peer manager) to connect to the peers
  • Events emitted should be enough for another behavior to add new peers and prune expired peers
  • libp2p swarm test that shows events are emitted as expected
nathanielc added a commit that referenced this issue Nov 26, 2024
With this change all the pieces are in place such that peers can
discover peers from connected peers and connect to those peers.

Fixes: #605
Fixes: #606
nathanielc added a commit that referenced this issue Nov 26, 2024
With this change all the pieces are in place such that peers can
discover peers from connected peers and connect to those peers.

Fixes: #605
Fixes: #606
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant