aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/handshake.go
Commit message (Collapse)AuthorAgeFilesLines
* p2p: restore read/write timeoutsFelix Lange2015-03-041-5/+3
| | | | They got lost in the transition to rlpxFrameRW.
* p2p: verify protocol handshake node IDFelix Lange2015-03-041-0/+3
|
* p2p: make encryption handshake code easier to followFelix Lange2015-03-041-242/+207
| | | | | | | | | 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.
* p2p: use RLPx frames for messagingFelix Lange2015-03-041-17/+10
|
* p2p: encrypted and authenticated RLPx frame I/OFelix Lange2015-03-041-57/+100
|
* p2p: disable encryption handshakeFelix Lange2015-02-191-0/+434
The diff is a bit bigger than expected because the protocol handshake logic has moved out of Peer. This is necessary because the protocol handshake will have custom framing in the final protocol.