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

chore: only show websocket peers in discovery #284

Merged
merged 1 commit into from
Nov 3, 2023

Conversation

danisharora099
Copy link
Contributor

resolves #265

@danisharora099 danisharora099 requested a review from a team as a code owner November 2, 2023 12:45

// we only support websocket connections for now
const isPeerDialable = async (peerId: PeerId, node: LightNode) => {
const peer = await node.libp2p.peerStore.get(peerId);
Copy link
Contributor

Choose a reason for hiding this comment

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

I am wondering if we should do thins in js-waku and keep only wss peers in peerStore or make it configurable?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

correct. this is tracked in js-waku here: waku-org/js-waku#1547

@danisharora099 danisharora099 merged commit 0e2c6d5 into master Nov 3, 2023
9 checks passed
@danisharora099 danisharora099 deleted the chore/only-wss-peers branch November 3, 2023 11:29
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

Successfully merging this pull request may close these issues.

web-chat: only showcase wss peers in discovered
2 participants