Commit Graph

45 Commits (master)

Author SHA1 Message Date
jmjatlanta f9bec0ac20 New way of swarm connection 2017-10-23 15:22:12 -05:00
John Jones 71c216defb Better handling of bad memory allocation 2017-10-05 15:14:47 -05:00
John Jones 861ca0a332 Conversion from blockstore to node was not happening 2017-10-05 13:08:36 -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 81e103f1e0 Fix for object get when api not running 2017-09-27 07:02:00 -05:00
Jose Marcial Vieira Bisneto 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 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
Jose Marcial Vieira Bisneto f2e7c3c475 Missing null.h 2017-07-07 00:40:39 -03:00
Jose Marcial Vieira Bisneto 13b8b8bf27 Null routing code reallocated to facilitate routing protocol swap. 2017-07-06 23:51:53 -03:00
Jose Marcial Vieira Bisneto 8da685b5cf Implemented timeout to avoid hang due to connection error. 2017-07-06 23:02:11 -03:00
Jose Marcial Vieira Bisneto 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 e90d966e44 Adding network and swarm functionality 2017-04-03 11:55:36 -05:00
John Jones cfcabaecd0 Finishing NodeIO 2017-03-19 14:40:16 -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
John Jones f1aac5d707 Starting to handle get_value request 2017-02-27 12:27:40 -05:00
John Jones 7a6b138444 more ping cleanup and friendly interface to streams 2017-02-23 15:15:33 -05:00