1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-29 09:20:02 +08:00

Apparently I changed something.

This commit is contained in:
Brendan Mc
2014-09-03 21:09:25 -04:00
parent 33a9e147d6
commit ca8b7d48e0

View File

@ -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)