Govur University Logo
--> --> --> -->
...

When using a Kademlia-based DHT for node discovery, what is the mathematical metric used to determine the 'distance' between two node IDs for routing purposes?



The mathematical metric used to determine the distance between two node IDs in a Kademlia-based Distributed Hash Table is the bitwise exclusive or, commonly referred to as XOR. A node ID is a fixed-length sequence of bits, such as a 160-bit integer. The XOR operation compares these IDs bit by bit: it outputs a 1 if the corresponding bits a....

Log in to view the answer



Redundant Elements