Commit graph

205 commits

Author SHA1 Message Date
John Jones
6160dd841b Big changes for the yamux protocol
The Stream interface changed, so it touches many areas. But this change
will help with memory allocation and a cleaner interface.
2017-11-08 10:54:31 -05:00
jmjatlanta
f9bec0ac20 New way of swarm connection 2017-10-23 15:22:12 -05:00
jmjatlanta
b399762d82 Handle api and cli swarm connect 2017-10-12 10:12:54 -05:00
jmjatlanta
b99a78a4d3 Merge branch 'master' of https://github.com/Agorise/c-ipfs
Conflicts:
	test/scripts/run_tests.sh
	test/testit.c
2017-10-09 09:12:14 -05:00
jmjatlanta
c0855c9630 Going through tests, verifying functionality 2017-10-09 09:00:48 -05:00
John Jones
861ca0a332 Conversion from blockstore to node was not happening 2017-10-05 13:08:36 -05:00
John Jones
42aa1646ab Misc changes to support binary upload 2017-10-04 09:36:38 -05:00
John Jones
b9c28ceed4 Adjustments to handle retrieval of binary files 2017-10-04 07:33:29 -05:00
John Jones
596a811d5e testing of using api for binary files 2017-10-04 06:34:37 -05:00
3b2e94ebe2
Implemented HTTP Post using libcurl. 2017-10-03 12:33:30 -03:00
495a92f5f8
Fixed binary chunk response in API. 2017-09-28 21:54:09 -03:00
jmjatlanta
f5250a71f3 more changes to implement api for dht provide and get 2017-09-27 11:45:36 -05:00
jmjatlanta
81e103f1e0 Fix for object get when api not running 2017-09-27 07:02:00 -05:00
jmjatlanta
2cc7f52fbf fixed attempt to free a non allocated string 2017-09-26 09:43:10 -05:00
John Jones
5bcd3a99f2 various fixes for object_get 2017-09-25 17:56:10 -05:00
John Jones
5fc40e51ee solved pthread_mutex being shared across processes 2017-09-25 11:25:34 -05:00
jmjatlanta
5404fce6ec move api globals to struct 2017-09-25 08:55:42 -05:00
395eb4f031
Improved api_build_http_request implementation. 2017-09-21 23:27:33 -03:00
jmjatlanta
c54cf989c0 Filling in more of http_request 2017-09-21 17:10:41 -05:00
jmjatlanta
a1b887ba76 Implementation of http_request 2017-09-21 15:27:16 -05:00
jmjatlanta
9425e2fee3 More work on ipns publisher and resolver 2017-09-21 13:59:06 -05:00
jmjatlanta
0eab9cc3fc Merge branch 'master' of https://github.com/Agorise/c-ipfs 2017-09-21 11:21:12 -05:00
jmjatlanta
378dd7c051 beginning to resolve ipns addresses 2017-09-21 11:21:01 -05:00
e0d5fed53e
HTTP redirection added in the API. 2017-09-21 11:50:15 -03:00
jmjatlanta
2051f7714a ipfs name command line options processing 2017-09-21 07:51:18 -05:00
a907f1dd2d
The API changed pthread to scope, so it can load multiple instances. 2017-09-20 14:39:26 -03:00
jmjatlanta
9a49ddd27b Start of client_api.c 2017-09-20 09:11:01 -05:00
jmjatlanta
81d2252229 Now compiling with api changes 2017-09-20 07:53:36 -05:00
jmjatlanta
794217ed6c method signature changes 2017-09-20 07:40:28 -05:00
John Jones
fc8fc582b1 Testing ipns 2017-09-14 16:49:19 -05:00
jmjatlanta
3eec8553a6 Began implementing updates to journal timestamp 2017-09-13 12:40:48 -05:00
jmjatlanta
478fa403fd Merge branch 'master' of https://github.com/Agorise/c-ipfs 2017-09-13 05:03:13 -05:00
jmjatlanta
d0eb0acc9d Added test for api 2017-09-13 05:02:59 -05:00
0b113cb95d
Initial implementation of multipart in API. 2017-09-07 23:59:57 -03:00
John Jones
a9481631df Several memory leak fixes for journal code 2017-09-07 18:45:09 -05:00
John Jones
cb1ea3ceff Sorting a memory leak in datastore/journalstore 2017-09-07 11:05:56 -05:00
jmjatlanta
bf7ba9049c Implementation of timestamp in both datastore and journalstore 2017-09-04 17:10:57 -05:00
jmjatlanta
bf87d93136 Updating cid codes 2017-09-04 13:33:56 -05:00
jmjatlanta
1eab27fa0e journalio working, needs tuning 2017-08-31 06:41:54 -05:00
jmjatlanta
49bd61feb1 Testing journalio protocol 2017-08-30 11:10:14 -05:00
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
1b69cdf1e8 Implemented client side of journaling protocol 2017-08-28 06:56:22 -05: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
d226e480c9 Fixing repeated needless sends 2017-08-09 12:09:44 -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
e58909b875 Handle entry in WantlistQueue only once if we found provider 2017-08-02 11:43:48 -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