• Felix Lange's avatar
    p2p: make encryption handshake code easier to follow · 7d39fd66
    Felix Lange authored
    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.
    7d39fd66
Name
Last commit
Last update
..
discover Loading commit data...
nat Loading commit data...
handshake.go Loading commit data...
handshake_test.go Loading commit data...
message.go Loading commit data...
message_test.go Loading commit data...
peer.go Loading commit data...
peer_error.go Loading commit data...
peer_test.go Loading commit data...
protocol.go Loading commit data...
rlpx.go Loading commit data...
rlpx_test.go Loading commit data...
server.go Loading commit data...
server_test.go Loading commit data...
testlog_test.go Loading commit data...