plugeth/p2p
Felix Lange 2adcc31bb4 p2p/discover: new distance metric based on sha3(id)
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.
2015-05-06 16:10:41 +02:00
..
discover p2p/discover: new distance metric based on sha3(id) 2015-05-06 16:10:41 +02:00
nat Updated logging 2015-04-07 14:57:04 +02:00
handshake_test.go p2p/discover: new endpoint format 2015-04-30 14:57:33 +02:00
handshake.go p2p: fix goroutine leak when handshake read fails 2015-04-13 17:06:19 +02:00
message_test.go p2p: use package rlp to encode messages 2015-03-19 15:11:02 +01:00
message.go p2p: added received at to peer message 2015-04-29 22:49:58 +02:00
peer_error.go p2p: make DiscReason bigger than byte 2015-04-17 14:45:10 +02:00
peer_test.go p2p: fix Peer shutdown deadlocks 2015-04-10 13:26:27 +02:00
peer.go p2p, p2p/discover: protocol version 4 2015-04-30 14:57:34 +02:00
protocol.go p2p: print Cap as name/version 2015-02-13 23:54:34 +01:00
rlpx_test.go p2p: use package rlp to encode messages 2015-03-19 15:11:02 +01:00
rlpx.go p2p: reject messages that cannot be written as simple RLPx frames 2015-03-04 16:42:01 +01:00
server_test.go p2p/discover: new endpoint format 2015-04-30 14:57:33 +02:00
server.go p2p/discover: new endpoint format 2015-04-30 14:57:33 +02:00
testlog_test.go fix p2p/testlog_test 2015-03-23 16:41:41 +00:00