Commit graph

49 commits

Author SHA1 Message Date
John Jones
575be24be2 memory and bug fixes, plus update of several tests 2017-10-09 15:23:30 -05:00
John Jones
27d36d8320 Minor memory leak fixes 2017-09-28 15:43:03 -05:00
John Jones
7aa81936ec Minor memory leak fixes 2017-09-28 14:44:55 -05:00
John Jones
87cc96a011 Fix of memory leak 2017-09-28 13:48:57 -05:00
jmjatlanta
7f89e80d7b Debugging 2017-09-28 13:21:34 -05:00
jmjatlanta
3d425bb30f Fixes for remote file retrieval 2017-09-28 07:58:51 -05:00
jmjatlanta
f5250a71f3 more changes to implement api for dht provide and get 2017-09-27 11:45:36 -05:00
jmjatlanta
76b860c06f Attempting to bitswap from previously unknown node 2017-09-27 10:05:17 -05:00
jmjatlanta
2cc7f52fbf fixed attempt to free a non allocated string 2017-09-26 09:43:10 -05:00
jmjatlanta
5404fce6ec move api globals to struct 2017-09-25 08:55:42 -05:00
jmjatlanta
9402f31841 Modified ipfs_core_http_request_free 2017-09-25 06:57:17 -05:00
a907f1dd2d
The API changed pthread to scope, so it can load multiple instances. 2017-09-20 14:39:26 -03:00
John Jones
cfffe36fb2 Fixing test paths 2017-09-20 11:10:54 -05:00
jmjatlanta
81d2252229 Now compiling with api changes 2017-09-20 07:53:36 -05:00
jmjatlanta
acf506296e Updating tests 2017-09-18 19:04:52 -05:00
John Jones
fc8fc582b1 Testing ipns 2017-09-14 16:49:19 -05:00
John Jones
395c7d94cf More implementation of ipns 2017-09-14 14:58:53 -05:00
John Jones
d5c3e01267 Intitial test for ipns resolve 2017-09-14 12:13:07 -05:00
John Jones
7dbb6fca29 multistream protocol now has a protocol interface 2017-09-04 11:02:48 -05:00
John Jones
5e8683e64d Cleaning up old code 2017-08-09 12:34:02 -05:00
jmjatlanta
986d054c6c code cleanup 2017-08-02 08:53:34 -05:00
jmjatlanta
fa7a6826b1 Change in secio method signature 2017-07-31 16:36:52 -05:00
jmjatlanta
e4f1c9b39c Making providerstore smarter 2017-07-31 12:50:12 -05:00
John Jones
059a3286c9 More bitswap implementation 2017-07-31 06:43:15 -05: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
John Jones
10aa932e08 Unit testing and memory fixes 2017-07-26 09:48:04 -05:00
John Jones
692d3406c8 Implementation of a universal bitswap queue
This queue stores both local and remote requests for blocks
2017-07-26 07:38:47 -05:00
jmjatlanta
cb05b249ba Fixed warnings 2017-07-17 16:14:40 -05:00
297283168c Make sure don't crash if ipfs_routing_new_kademlia fails. 2017-07-07 00:11:52 -03:00
8da685b5cf Implemented timeout to avoid hang due to connection error. 2017-07-06 23:02:11 -03:00
John Jones
a5e5a71ddd Fixes for various memory leaks 2017-05-11 13:53:52 -05:00
John Jones
def5331d4c Better handling of locally stored files 2017-05-11 07:04:54 -05:00
John Jones
3de4b757e4 Bugfixes and unit test fixes 2017-04-27 15:52:20 -05:00
John Jones
e756fdf510 Memory and test fixes 2017-04-27 11:35:26 -05:00
John Jones
a991dab1bc Small change to logger cleanup 2017-04-27 00:10:25 -05:00
John Jones
43bf2caeff Tested and made adjustments for large file transfers 2017-04-24 16:33:59 -05:00
John Jones
03696dd6e7 Major changes to support large file transfer 2017-04-20 17:56:03 -05:00
John Jones
a2a08156a7 Added thread pool to aid in clean daemon shutdown 2017-04-17 14:02:33 -05:00
John Jones
427b5c948f Added routines to cleanly shutdown daemon
This still needs more work, but the mechanism now exists
2017-04-17 11:58:47 -05:00
John Jones
2b0a29a06b Implemented find providers from remote peers
Now, you can ask a known node for a key, and it can pass a list of peers
that are perhaps unknownn to the calling peer.
2017-04-16 23:47:53 -05:00
John Jones
62096ffc1c Handling finding of peer via swarm
Also included is a way to pass port and swarm info to methods that build
the config file. This makes testing easier. Multiple peers can be
started on the same machine easily.
2017-04-13 09:31:58 -05:00
John Jones
59af1c0b9e Using config file for bootstrap of kademlia 2017-03-24 16:51:00 -05:00
John Jones
8feb946087 debugging daemon 2017-03-24 14:29:00 -05:00
John Jones
d25e088b7c Built some system tests
Testing the retrieve remote file area using kademlia
2017-03-23 08:28:35 -05:00
John Jones
83242b0046 minor fixes 2017-03-21 12:11:41 -05:00
John Jones
cfcabaecd0 Finishing NodeIO 2017-03-19 14:40:16 -05:00
John Jones
0b238eb5ac Implementing NodeIO 2017-03-19 08:05:25 -05:00
John Jones
e8b8d06f24 refactoring + beginning of file transfer
Now attempting to use kademlia to find a hash, and NodeIO to transfer
the file
2017-03-19 07:47:19 -05:00