mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-24 11:57:44 +08:00
Apparently I changed something.
This commit is contained in:
parent
33a9e147d6
commit
ca8b7d48e0
@ -34,7 +34,7 @@ var SupportedHashes = "SHA256,SHA512,SHA1"
|
||||
var ErrUnsupportedKeyType = errors.New("unsupported key type")
|
||||
|
||||
// Perform initial communication with this peer to share node ID's and
|
||||
// initiate communication
|
||||
// initiate communication. (secureIn, secureOut, error)
|
||||
func Handshake(self, remote *peer.Peer, in, out chan []byte) (chan []byte, chan []byte, error) {
|
||||
// Generate and send Hello packet.
|
||||
// Hello = (rand, PublicKey, Supported)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user