plugeth/p2p
Felix Lange 7d39fd6678 p2p: make encryption handshake code easier to follow
This mostly changes how information is passed around.
Instead of using many function parameters and return values,
put the entire state in a struct and pass that.

This also adds back derivation of ecdhe-shared-secret. I deleted
it by accident in a previous refactoring.
2015-03-04 12:27:24 +01:00
..
discover p2p/discover: add NodeID.Pubkey 2015-03-04 12:27:24 +01:00
nat p2p/nat: switch to github.com/huin/goupnp 2015-02-17 13:10:11 +01:00
handshake_test.go p2p: make encryption handshake code easier to follow 2015-03-04 12:27:24 +01:00
handshake.go p2p: make encryption handshake code easier to follow 2015-03-04 12:27:24 +01:00
message_test.go p2p: delete frameRW 2015-03-04 12:27:24 +01:00
message.go p2p: delete frameRW 2015-03-04 12:27:24 +01:00
peer_error.go p2p: fixes for actual connections 2015-02-07 00:43:52 +01:00
peer_test.go p2p: use RLPx frames for messaging 2015-03-04 12:27:23 +01:00
peer.go p2p: use RLPx frames for messaging 2015-03-04 12:27:23 +01:00
protocol.go p2p: print Cap as name/version 2015-02-13 23:54:34 +01:00
rlpx_test.go p2p: make RLPx frame MAC 16 bytes as defined in the spec 2015-03-04 12:27:24 +01:00
rlpx.go p2p: make RLPx frame MAC 16 bytes as defined in the spec 2015-03-04 12:27:24 +01:00
server_test.go p2p: use RLPx frames for messaging 2015-03-04 12:27:23 +01:00
server.go p2p: use RLPx frames for messaging 2015-03-04 12:27:23 +01:00
testlog_test.go p2p: integrate p2p/discover 2015-02-06 00:00:36 +01:00