Updated comment

yamux
jmjatlanta 2017-08-28 06:55:38 -05:00
parent 817eb0231c
commit ed63c761d5
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ void libp2p_peer_free(struct Libp2pPeer* in);
* @param privateKey the local private key to use
* @param peer the peer to connect to
* @param peerstore if connection is successfull, will add peer to peerstore
* @param timeout number of seconds before giving up
* @returns true(1) on success, false(0) if we could not connect
*/
int libp2p_peer_connect(struct RsaPrivateKey* privateKey, struct Libp2pPeer* peer, struct Peerstore* peerstore, int timeout);