-
Notifications
You must be signed in to change notification settings - Fork 965
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(kad): remove allow_listening
handler config
#3504
fix(kad): remove allow_listening
handler config
#3504
Conversation
allow_listening
handler config
…ithub.com/chirag-bgh/rust-libp2p into fix/remove_allow_listening_handler_config
CI is still failing. Did you manage to compile this locally? I typically run |
There are two warnings about unused imports left. Also, this is unfortunately a breaking change because the I hope you don't mind. The change is relatively isolated so there shouldn't be many merge conflicts. I am going to open an issue about minimizing the public API of |
Setting this to draft to prevent accidental merge. |
I wrote some more about this here: #3532 |
Done here: #3533 |
I don't think we need to consider this a breaking change. I don't think anyone is using the |
You'll have to override CI and merge it manually then because Feel free to do so if you want. Is there a pressing need though? |
Good point. In the contrived example where someone is in need for this patch, I would consider ignoring the fact that it is a breaking change. Given that no one directly depends on the change, let's treat it as a breaking change. |
We are going to need this for client-mode right. Should we then really remove it? See #3651. |
For client mode it will need to be dynamic during the lifetime of a single |
That flag can also be modified by a message coming in from the behaviour. As soon as it is changed to I think we will need the flag, or something equivalent. We just don't have the "change the flag" mechanism yet. |
This pull request has merge conflicts. Could you please resolve them @chirag-bgh? 🙏 |
This is obsolete with #3877. |
Description
The
allow_listening
config option in Kademlia does nothing as it is always set totrue
. Thus a dummy configuration option and should be removed.Closes #3499.
Notes
Links to any relevant issues
Open Questions
Change checklist