Skip to content

Commit 5bdc115

Browse files
committed
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
1 parent 739066e commit 5bdc115

15 files changed

Lines changed: 1056 additions & 1659 deletions

‎p2p/client_identity.go‎

Lines changed: 0 additions & 68 deletions
This file was deleted.

‎p2p/client_identity_test.go‎

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)