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

Explore supporting client mode in dht nodes #814

Open
jsantell opened this issue Feb 8, 2024 · 0 comments
Open

Explore supporting client mode in dht nodes #814

jsantell opened this issue Feb 8, 2024 · 0 comments
Labels
Chore Non-user-facing feature

Comments

@jsantell
Copy link
Contributor

jsantell commented Feb 8, 2024

Updating to libp2p 0.53 introduced DHT nodes adjusting their modes dynamically, where if a node does not have an external address, it switches to Mode::Client. This improves the network by culling non-accessible nodes.
Manually setting to Mode::Server mode prevents this dynamic switching.
We could explore this optimization in the future, but for now, we need to run on nightly rust, and some challenges with external addresses in tests.

@jsantell jsantell added the Chore Non-user-facing feature label Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Chore Non-user-facing feature
Projects
None yet
Development

No branches or pull requests

1 participant