Commit Graph

23 Commits (692d3406c88ea3ccce1fe1b0d8094a1855cfd0f9)

Author SHA1 Message Date
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