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

feat: add routing symbols #388

Merged
merged 3 commits into from
Apr 27, 2023
Merged

feat: add routing symbols #388

merged 3 commits into from
Apr 27, 2023

Conversation

achingbrain
Copy link
Member

When libp2p is configured with arbitrary services some of those services may be content routers or peer routers or both. An example of this is the @libp2p/kad-dht module.

In order to communicate to libp2p that they can provide content/peer routing cabapiliy, add well-known symbols that libp2p can use to get references to the routing implementations.

When libp2p is [configured with arbitrary services](libp2p/js-libp2p#1563)
some of those services may be content routers or peer routers or
both.  An example of this is the `@libp2p/kad-dht` module.

In order to communicate to libp2p that they can provide content/peer
routing cabapiliy, add well-known symbols that libp2p can use to
get references to the routing implementations.
Copy link
Member

@maschad maschad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, please fix the linter issues

@achingbrain achingbrain merged commit 9ee7691 into master Apr 27, 2023
@achingbrain achingbrain deleted the feat/add-routing-symbols branch April 27, 2023 08:01
github-actions bot pushed a commit that referenced this pull request Apr 27, 2023
@github-actions
Copy link

🎉 This PR is included in version @libp2p/interface-content-routing-v2.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this pull request Apr 27, 2023
@github-actions
Copy link

🎉 This PR is included in version @libp2p/interface-peer-discovery-v1.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this pull request Apr 27, 2023
@github-actions
Copy link

🎉 This PR is included in version @libp2p/interface-peer-routing-v1.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants