Skip to content

Find best provider in Kademlia #2185

Closed Answered by mxinden
umgefahren asked this question in Q&A
Discussion options

You must be logged in to vote

by the nearest distance between a keys hash and a nodes id.

by the nearest distance between a keys hash and a nodes id hash.

Following that it must be possible to determine a node for providing a key, from a key. Is there a way to perform such a lookup?

Do I understand correctly that you want the closest nodes only? In that case you can just use Kademlia::find_closest.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@umgefahren
Comment options

@mxinden
Comment options

mxinden Aug 9, 2021
Collaborator

Answer selected by umgefahren
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants