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

feat(light-js): add discovery of a peer #250

Merged
merged 2 commits into from
Jul 10, 2023
Merged

Conversation

weboko
Copy link
Contributor

@weboko weboko commented Jul 10, 2023

In this PR I introduce the usage of DnsDiscovery to fetch one peer.
I deliberately use DnsDiscovery directly without defaultPeers to showcase direct usage and keep input as a way to set a node.

cc: @fryorcraken @danisharora099

@weboko weboko merged commit 0ba66bc into master Jul 10, 2023
8 checks passed
@weboko weboko deleted the weboko/light-js-disc branch July 10, 2023 22:32
@fryorcraken
Copy link
Collaborator

This example starts looking like a debugging app... I think we are already tracking an issue to make the distinction.

I would retrieve all nodes from both test and prod enrtrees instead of just one.

@weboko
Copy link
Contributor Author

weboko commented Jul 11, 2023

This example starts looking like a debugging app... I think we are already tracking an issue to make the distinction.

I would retrieve all nodes from both test and prod enrtrees instead of just one.

Agree with this and commented on it here - #248 (comment)

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.

None yet

2 participants