Commit Graph

316 Commits (0066670f609061701c51c3e52986dc13c025cca8)

Author SHA1 Message Date
jmjatlanta 0066670f60 Datastore now returns a DatastoreRecord struct
When retrieving a record, a struct is returned, making it
much more user friendly.
2017-08-28 10:55:44 -05:00
jmjatlanta 5678a14eb3 Merge branch 'master' of https://github.com/Agorise/c-ipfs 2017-08-28 06:56:38 -05:00
jmjatlanta 1b69cdf1e8 Implemented client side of journaling protocol 2017-08-28 06:56:22 -05:00
Jose Marcial Vieira Bisneto d66bbdea65 Changed the interpretation of chunked in the API. 2017-08-24 23:13:36 -03:00
jmjatlanta 60c6085469 Code complete for client side of journal protocol 2017-08-24 13:30:44 -05:00
jmjatlanta 0bc975dfcf journaling protocol 2017-08-24 10:08:27 -05:00
jmjatlanta d13e4b4318 Added journaling when a file is saved - beginning of backup scheme 2017-08-21 14:49:21 -05:00
jmjatlanta 5b242a2d08 An occasional ping to verify connectivity 2017-08-16 08:15:06 -05:00
jmjatlanta 5de67539ef correctly adding request to peer_request_queue 2017-08-16 07:34:28 -05:00
jmjatlanta c58bfc9b1e Fixed loop 2017-08-16 07:08:39 -05:00
jmjatlanta 8a492c1e2f fixed memory leak 2017-08-16 06:41:48 -05:00
John Jones 5e8683e64d Cleaning up old code 2017-08-09 12:34:02 -05:00
John Jones 0e24b0a1d3 Fix small memory leak. 2017-08-09 12:26:26 -05:00
jmjatlanta dd69216c75 Shut down handlers when app shuts down 2017-08-09 12:21:03 -05:00
jmjatlanta d226e480c9 Fixing repeated needless sends 2017-08-09 12:09:44 -05:00
jmjatlanta 8944e407e9 Initialize handlers after peerstore and providerstore 2017-08-09 08:14:15 -05:00
John Jones ced96dcf81 IPFS protocols now implement an interface to make marshalling easier 2017-08-09 08:04:17 -05:00
John Jones c58134db1c Fixing memory leaks 2017-08-08 20:40:35 -05:00
jmjatlanta 6754ba77b3 Removing noise 2017-08-03 17:57:01 -05:00
jmjatlanta 46b6921ddf added more debugging messages 2017-08-03 17:51:34 -05:00
John Jones 3cc75058f0 Fix of memory leaks 2017-08-03 17:46:20 -05:00
jmjatlanta 2b24b00324 Cleanup of after free 2017-08-03 15:04:12 -05:00
jmjatlanta b578e5c13a Fixed tests 2017-08-03 14:35:06 -05:00
jmjatlanta ef53c886a0 Verify good connection before using it. 2017-08-03 13:36:53 -05:00
jmjatlanta d1d4d19fa8 Handling details of bitswap 2017-08-03 11:16:58 -05:00
John Jones e58909b875 Handle entry in WantlistQueue only once if we found provider 2017-08-02 11:43:48 -05:00
John Jones 3fa822aed6 Merge branch 'master' of https://github.com/kenCode-de/c-ipfs 2017-08-02 10:53:28 -05:00
John Jones 5910d63c3d Clean up when we receive a block we wanted 2017-08-02 10:53:14 -05:00
jmjatlanta 17dbad3bce clean up peer request queue after message send 2017-08-02 10:52:35 -05:00
jmjatlanta e5e565272e Continue to listen to connected peers within bitswap engine 2017-08-02 09:43:27 -05:00
John Jones 9131559a04 correctly handling send of wantlist 2017-08-02 09:04:37 -05:00
jmjatlanta 986d054c6c code cleanup 2017-08-02 08:53:34 -05:00
jmjatlanta 0638996684 processing want list 2017-08-02 07:04:06 -05:00
Jose Marcial Vieira Bisneto 7632949e30 Implemented chunked transfer encoding. 2017-08-01 21:17:17 -03:00
jmjatlanta 836fb5387b Attempting to fulfill remote requests 2017-07-31 17:59:51 -05:00
jmjatlanta fa7a6826b1 Change in secio method signature 2017-07-31 16:36:52 -05:00
jmjatlanta 82c8911b71 squelch some warnings 2017-07-31 15:22:49 -05:00
jmjatlanta bc01f36839 tweaks to bitswap message 2017-07-31 15:19:17 -05:00
John Jones 835b70c97f compare peer id from file with the one generated from the private key 2017-07-31 15:16:54 -05:00
John Jones ac5a622400 Passing SessionContext instead of Stream 2017-07-31 13:54:09 -05:00
John Jones 3a68619016 Fixed mem leak and more testing 2017-07-31 13:32:09 -05:00
jmjatlanta e4f1c9b39c Making providerstore smarter 2017-07-31 12:50:12 -05:00
John Jones e22da601ea bug fixes to client side bitswap 2017-07-31 10:01:06 -05:00
jmjatlanta 9bceade4d8 correctly handle empty list of replication servers 2017-07-31 08:50:20 -05:00
John Jones d969f48324 implementation of bitswap network receive 2017-07-31 08:16:52 -05:00
John Jones 45c997cd9a Merge branch 'master' of https://github.com/kenCode-de/c-ipfs 2017-07-31 06:43:28 -05:00
John Jones 059a3286c9 More bitswap implementation 2017-07-31 06:43:15 -05:00
Jose Marcial Vieira Bisneto 5941a3593a Added body transmitted directly in the API. 2017-07-28 00:43:36 -03:00
John Jones b3bb857f3a Still testing bitswap 2017-07-27 14:33:19 -05:00
John Jones 73d7d5daed More implementation of bitswap 2017-07-27 12:05:41 -05:00