Commit Graph

59 Commits (6160dd841b560e5188e46e2f81470c3feb6a5310)

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
John Jones 8b2a8ef3ab Minor changes for yamux 2017-11-06 13:37:48 -05:00
John Jones 0c31ef7331 More changes to swarm negotiation 2017-10-25 12:29:20 -05:00
jmjatlanta f9bec0ac20 New way of swarm connection 2017-10-23 15:22:12 -05:00
jmjatlanta 9afaf535d6 Reading from stream now uses a StreamMessage struct 2017-10-23 09:03:30 -05:00
John Jones 575be24be2 memory and bug fixes, plus update of several tests 2017-10-09 15:23:30 -05:00
John Jones 71c216defb Better handling of bad memory allocation 2017-10-05 15:14:47 -05:00
jmjatlanta 7f89e80d7b Debugging 2017-09-28 13:21:34 -05:00
John Jones 7dbb6fca29 multistream protocol now has a protocol interface 2017-09-04 11:02:48 -05:00
John Jones 407f85bc89 More testing and compat fixes for ipfs 2017-08-31 16:41:10 -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 1b69cdf1e8 Implemented client side of journaling protocol 2017-08-28 06:56:22 -05:00
jmjatlanta 5b242a2d08 An occasional ping to verify connectivity 2017-08-16 08:15:06 -05:00
John Jones 5e8683e64d Cleaning up old code 2017-08-09 12:34:02 -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
jmjatlanta 46b6921ddf added more debugging messages 2017-08-03 17:51:34 -05:00
jmjatlanta b578e5c13a Fixed tests 2017-08-03 14:35:06 -05:00
jmjatlanta d1d4d19fa8 Handling details of bitswap 2017-08-03 11:16:58 -05:00
jmjatlanta e5e565272e Continue to listen to connected peers within bitswap engine 2017-08-02 09:43:27 -05:00
John Jones 9131559a04 correctly handling send of wantlist 2017-08-02 09:04:37 -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 d969f48324 implementation of bitswap network receive 2017-07-31 08:16:52 -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 d038b5d6f7 Broke out the marshaling of incoming requests 2017-07-17 14:38:13 -05:00
John Jones 069379acf4 Fix of a few compiler warnings 2017-07-17 13:05:56 -05:00
John Jones 656b0b50b7 Now we can connect using secio. 2017-07-13 18:32:40 -05:00
John Jones 6c936de20e Closing socket descriptor 2017-05-11 14:30:52 -05:00
John Jones a5e5a71ddd Fixes for various memory leaks 2017-05-11 13:53:52 -05:00
John Jones 3de4b757e4 Bugfixes and unit test fixes 2017-04-27 15:52:20 -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 5d558f5229 Correctly parsing command line parameters for ipfs add 2017-04-06 19:05:30 -05:00
John Jones bc19434490 setting Datastore on SessionContext structure 2017-04-06 09:55:26 -05:00
John Jones 7b61c70639 added logging to daemon 2017-04-03 20:54:03 -05:00
John Jones 87cf779704 handling add provider 2017-04-03 17:26:33 -05:00
John Jones 58b5bc8cdd More debugging for segfault 2017-04-03 13:41:26 -05:00
John Jones 624c2280e4 fix of protocol name 2017-04-03 13:26:11 -05:00
John Jones 6f94f7e6c0 Using new logging mechanism 2017-04-03 13:20:35 -05:00
John Jones 396a27d712 Added some debugging info 2017-04-03 12:42:35 -05:00
John Jones e90d966e44 Adding network and swarm functionality 2017-04-03 11:55:36 -05:00
John Jones 96b97ad347 Adding network calls to kademlia 2017-03-30 13:59:31 -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 43ca313854 Working with secio streams 2017-03-09 12:50:08 -05:00
John Jones 15a8abff9a Made the stream methods more generic 2017-03-09 10:01:09 -05:00