Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Chore Non-user-facing feature
Projects
None yet
Development

No branches or pull requests

1 participant