-
Felix Lange authored
The previous metric was pubkey1^pubkey2, as specified in the Kademlia paper. We missed that EC public keys are not uniformly distributed. Using the hash of the public keys addresses that. It also makes it a bit harder to generate node IDs that are close to a particular node.
2adcc31b
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| discover | ||
| nat | ||
| handshake.go | ||
| handshake_test.go | ||
| message.go | ||
| message_test.go | ||
| peer.go | ||
| peer_error.go | ||
| peer_test.go | ||
| protocol.go | ||
| rlpx.go | ||
| rlpx_test.go | ||
| server.go | ||
| server_test.go | ||
| testlog_test.go |