-
Notifications
You must be signed in to change notification settings - Fork 961
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
fix(examples/file-sharing): set Kademlia Mode::Server
#4197
Conversation
Explicitly set `libp2p-kad` `Kademlia::set_mode` to `Mode::Server` to reduce complexity of example, i.e. not having to explicitly set external addresses.
Is that a good thing? Would it be better if we teach users to "correctly" configure their |
In my eyes, explicitly setting Does the above change your position here @thomaseizinger? |
Sounds good to me! |
Mind approving @thomaseizinger? |
@Mergifyio refresh |
✅ Pull request refreshed |
Explicitly set `libp2p-kad` `Kademlia::set_mode` to `Mode::Server` to reduce complexity of example, i.e. not having to explicitly set external addresses. Pull-Request: libp2p#4197.
Explicitly set `libp2p-kad` `Kademlia::set_mode` to `Mode::Server` to reduce complexity of example, i.e. not having to explicitly set external addresses. Pull-Request: #4197.
Description
Explicitly set
libp2p-kad
Kademlia::set_mode
toMode::Server
to reduce complexity of example, i.e. not having to explicitly set external addresses.Notes & open questions
Similar to #4194.
Change checklist