mirror of https://github.com/status-im/op-geth.git
2adcc31bb4
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. |
||
---|---|---|
.. | ||
database.go | ||
database_test.go | ||
node.go | ||
node_test.go | ||
table.go | ||
table_test.go | ||
udp.go | ||
udp_test.go |