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

Fix DHT typo #119

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix DHT typo #119

wants to merge 1 commit into from

Conversation

adipascu
Copy link

@adipascu adipascu commented Mar 8, 2021

There is no such thing as find_nodes in the DHT protocol, I think it should be find_node (without the s).
I know it's a nitpick. Feel free to close if you feel like it is bikeshedding.

@arvidn
Copy link
Contributor

arvidn commented Mar 9, 2021

I think this change makes sense. It's quite confusing to have so many mentions of "find_nodes". What makes it worse is that the plural version would really make more sense, since the response most likely will have more than one node.

@the8472
Copy link
Contributor

the8472 commented Mar 9, 2021

What makes it worse is that the plural version would really make more sense

Nominally it is to find a node with a specific ID, e.g. when searching for yourself during bootstrap. You just "happen" to find neighbors along the way. Of course the latter is the real use.

@adipascu
Copy link
Author

I am cleaning up my open PRs.
@arvidn is there any interest in merging this in?

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.

None yet

3 participants