Replies: 3 comments 4 replies
-
Hi, have you seen #3633? |
Beta Was this translation helpful? Give feedback.
-
If I understand correctly there are 2 different things:
By looking at the doc and skimming quickly through the implementation, I didn't find any The following call is possible, but AFAIU it isn't possible to recover the results of the queries (containing the addresses of the target PeerId). let qid: kad::QueryId = swarm.behaviour_mut().get_closest_peers(PeerId::random()); Additionally, it would be great to have a |
Beta Was this translation helpful? Give feedback.
-
A DHT in my opinion is a very large and shared(D in distributed) binary tree(T in table) with |
Beta Was this translation helpful? Give feedback.
-
I am using the Kademlia protocol and I am not sure how to obtain Peers' Addresses.
Once I obtain a Peer Id which is not in the local peer Routing Table, I would like to obtain its Addresses but I am not able to find the correct function for it. I have seen in the documentation that in previous versions it was provided a function, addresses_of_peer, where using a Peer Id, it was possible to obtain a Multiaddress vector as result, but in the actual version of I do not find it. Has it been replaced with something? Is it possible to obtain what I have described using any other function?
Thank you all in advance.
Beta Was this translation helpful? Give feedback.
All reactions