plugeth/p2p
Felix Lange 5bdc115943 p2p: integrate p2p/discover
Overview of changes:

- ClientIdentity has been removed, use discover.NodeID
- Server now requires a private key to be set (instead of public key)
- Server performs the encryption handshake before launching Peer
- Dial logic takes peers from discover table
- Encryption handshake code has been cleaned up a bit
- baseProtocol is gone because we don't exchange peers anymore
- Some parts of baseProtocol have moved into Peer instead
2015-02-06 00:00:36 +01:00
..
discover p2p/discover: add some helper functions 2015-02-06 00:00:36 +01:00
crypto_test.go p2p: integrate p2p/discover 2015-02-06 00:00:36 +01:00
crypto.go p2p: integrate p2p/discover 2015-02-06 00:00:36 +01:00
message_test.go p2p: integrate p2p/discover 2015-02-06 00:00:36 +01:00
message.go p2p: integrate p2p/discover 2015-02-06 00:00:36 +01:00
nat.go Cleaned up some of that util 2015-01-04 14:20:16 +01:00
natpmp.go p2p: API cleanup and PoC 7 compatibility 2014-11-21 21:52:45 +01:00
natupnp.go p2p: API cleanup and PoC 7 compatibility 2014-11-21 21:52:45 +01:00
peer_error.go p2p: integrate p2p/discover 2015-02-06 00:00:36 +01:00
peer_test.go p2p: integrate p2p/discover 2015-02-06 00:00:36 +01:00
peer.go p2p: integrate p2p/discover 2015-02-06 00:00:36 +01:00
protocol.go p2p: integrate p2p/discover 2015-02-06 00:00:36 +01:00
server_test.go p2p: integrate p2p/discover 2015-02-06 00:00:36 +01:00
server.go p2p: integrate p2p/discover 2015-02-06 00:00:36 +01:00
testlog_test.go p2p: integrate p2p/discover 2015-02-06 00:00:36 +01:00