diff --git a/p2p/secret_connection.go b/p2p/secret_connection.go index 723ee0a94..54e3e0c5e 100644 --- a/p2p/secret_connection.go +++ b/p2p/secret_connection.go @@ -42,6 +42,7 @@ type SecretConnection struct { // Performs handshake and returns a new authenticated SecretConnection. // Returns nil if error in handshake. // Caller should call conn.Close() +// See docs/sts-final.pdf for more information. func MakeSecretConnection(conn io.ReadWriteCloser, locPrivKey acm.PrivKeyEd25519) (*SecretConnection, error) { locPubKey := locPrivKey.PubKey().(acm.PubKeyEd25519)