Skip to content

Kademlia for Peer Discovery #5472

Answered by guillaumemichel
Fabijoey asked this question in Q&A
Discussion options

You must be logged in to vote

Ah right!

The client mode (apparently the default?) is for nodes that want to use the DHT, but not actively participate (e.g for nodes behind NAT, limited hardware etc.). The nodes in client mode are able to make requests to the DHT, but can never be queried.

The nodes in server mode are the only ones to respond to requests. Hence, all nodes will only include nodes in server mode in their DHT routing table.


So in your example, it is because the nodes were running in client mode that they didn't add each other to their routing tables.

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@Fabijoey
Comment options

@guillaumemichel
Comment options

@Fabijoey
Comment options

@guillaumemichel
Comment options

Answer selected by Fabijoey
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