Code complete for client side of journal protocol

This commit is contained in:
jmjatlanta 2017-08-24 13:30:44 -05:00
parent 0bc975dfcf
commit 60c6085469
6 changed files with 113 additions and 31 deletions

View file

@ -44,7 +44,8 @@ struct Libp2pProtocolHandler* ipfs_journal_build_protocol_handler(const struct I
/***
* Send a journal message to a remote peer
* @param local_node the local node
* @param peer the peer to send it to
* @returns true(1) on success, false(0) otherwise.
*/
int ipfs_journal_sync(struct Libp2pPeer* peer);
int ipfs_journal_sync(struct IpfsNode* local_node, struct Libp2pPeer* peer);