• Felix Lange's avatar
    p2p: integrate p2p/discover · 5bdc1159
    Felix Lange authored
    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
    5bdc1159
protocol.go 1.21 KB