Commit graph

57 commits

Author SHA1 Message Date
John Jones
27d36d8320 Minor memory leak fixes 2017-09-28 15:43:03 -05:00
jmjatlanta
296d164e84 now puting result of get_value in the return buffer 2017-09-28 08:24:57 -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
81e103f1e0 Fix for object get when api not running 2017-09-27 07:02:00 -05:00
a907f1dd2d
The API changed pthread to scope, so it can load multiple instances. 2017-09-20 14:39:26 -03:00
jmjatlanta
acf506296e Updating tests 2017-09-18 19:04:52 -05:00
John Jones
cb1ea3ceff Sorting a memory leak in datastore/journalstore 2017-09-07 11:05:56 -05:00
John Jones
7dbb6fca29 multistream protocol now has a protocol interface 2017-09-04 11:02:48 -05:00
John Jones
f9d836ef6f Removed some test code 2017-08-31 12:52:36 -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
5b242a2d08 An occasional ping to verify connectivity 2017-08-16 08:15:06 -05:00
John Jones
c58134db1c Fixing memory leaks 2017-08-08 20:40:35 -05:00
John Jones
3cc75058f0 Fix of memory leaks 2017-08-03 17:46:20 -05:00
jmjatlanta
fa7a6826b1 Change in secio method signature 2017-07-31 16:36:52 -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
John Jones
059a3286c9 More bitswap implementation 2017-07-31 06:43:15 -05:00
John Jones
73d7d5daed More implementation of bitswap 2017-07-27 12:05:41 -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
f2e7c3c475 Missing null.h 2017-07-07 00:40:39 -03:00
13b8b8bf27 Null routing code reallocated to facilitate routing protocol swap. 2017-07-06 23:51:53 -03:00
8da685b5cf Implemented timeout to avoid hang due to connection error. 2017-07-06 23:02:11 -03:00
4af0bedba1 Added missing ipfsaddr header. 2017-06-29 21:05:12 -03:00
9f190fb5dc Implemented kademlia bootstrap. 2017-06-29 20:51:24 -03:00
8fb67ec7e1 Changed ping message to use the dialer. 2017-06-22 21:17:43 -03:00
John Jones
a5e5a71ddd Fixes for various memory leaks 2017-05-11 13:53:52 -05:00
John Jones
d6ee0f7d5d Fixed small memory leak 2017-05-11 07:13:13 -05:00
John Jones
def5331d4c Better handling of locally stored files 2017-05-11 07:04:54 -05:00
John Jones
e756fdf510 Memory and test fixes 2017-04-27 11:35:26 -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
950ad31760 For now, puting bogus, non-zero IP address in due to MultiAddress bug.
The client pays no attention to the IP address anyway. But the
MultiAddress bug needs to be fixed.
2017-04-03 22:02:44 -05:00
John Jones
2efd59cbd5 adding MultiAddress to peer structure sent to remote connection 2017-04-03 21:18:08 -05:00
John Jones
089d072736 fixed memory freeing for daemon 2017-04-03 17:31:35 -05:00
John Jones
87cf779704 handling add provider 2017-04-03 17:26:33 -05:00
John Jones
01531693d6 Small adjustment to makefile 2017-04-03 11:58:28 -05:00
John Jones
e90d966e44 Adding network and swarm functionality 2017-04-03 11:55:36 -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
6c64b55176 Added more comments 2017-03-23 15:05:09 -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
cfcabaecd0 Finishing NodeIO 2017-03-19 14:40:16 -05:00