Code complete for client side of journal protocol
This commit is contained in:
parent
0bc975dfcf
commit
60c6085469
6 changed files with 113 additions and 31 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue