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

p2p/server: add DNS resolved candidates to distributed hash table #370

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

minh-bq
Copy link
Contributor

@minh-bq minh-bq commented Oct 19, 2023

Currently, DNS resolved candidates of eth protocol are added as candidates for dialing but not added to DHT. The DHT's seed nodes are still configured via hardcoded nodes in bootnodes flag. As we want to replace the hardcoded bootnodes entirely with DNS resolved nodes, we resolve some nodes from the DNS discovery URL and put them into DHT when setting up the p2p discovery.

@minh-bq minh-bq requested a review from DNK90 October 19, 2023 08:04
@minh-bq minh-bq force-pushed the feat/add-dns-to-dht branch 6 times, most recently from 21556df to 9fb7dda Compare October 20, 2023 04:00
Currently, DNS resolved candidates of eth protocol are added as candidates for
dialing but not added to DHT. The DHT's seed nodes are still configured via
hardcoded nodes in bootnodes flag. As we want to replace the hardcoded bootnodes
entirely with DNS resolved nodes, we resolve some nodes from the DNS discovery
URL and put them into DHT when setting up the p2p discovery.
@minh-bq minh-bq merged commit 4a18ec4 into axieinfinity:master Apr 4, 2024
1 check passed
@minh-bq minh-bq deleted the feat/add-dns-to-dht branch April 4, 2024 09:20
Francesco4203 pushed a commit to Francesco4203/ronin that referenced this pull request Jun 18, 2024
…ieinfinity#370)

Currently, DNS resolved candidates of eth protocol are added as candidates for
dialing but not added to DHT. The DHT's seed nodes are still configured via
hardcoded nodes in bootnodes flag. As we want to replace the hardcoded bootnodes
entirely with DNS resolved nodes, we resolve some nodes from the DNS discovery
URL and put them into DHT when setting up the p2p discovery.
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.

2 participants