I'm currently trying to understand the Kademlia protocol implemented in Ethereum in order to discover other peers in the network. If I understand these lines correctly, a nodes uses both random addresses as well as his own address as target address. It then sends this address to its neighbour peers which in turn will return their closest addresses to this target address. Does a node periodically ask their neighbour peers about their closest addresses to his own address? Wouldn't that be wasteful as the answers will not much change over time?

1 Answer 1


It performs this lookup with its own address as target address only when the table is empty.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.