Commit graph

285 commits

Author SHA1 Message Date
jmjatlanta
986d054c6c code cleanup 2017-08-02 08:53:34 -05:00
jmjatlanta
0638996684 processing want list 2017-08-02 07:04:06 -05:00
7632949e30 Implemented chunked transfer encoding. 2017-08-01 21:17:17 -03:00
jmjatlanta
836fb5387b Attempting to fulfill remote requests 2017-07-31 17:59:51 -05:00
jmjatlanta
fa7a6826b1 Change in secio method signature 2017-07-31 16:36:52 -05:00
jmjatlanta
82c8911b71 squelch some warnings 2017-07-31 15:22:49 -05:00
jmjatlanta
bc01f36839 tweaks to bitswap message 2017-07-31 15:19:17 -05:00
John Jones
835b70c97f compare peer id from file with the one generated from the private key 2017-07-31 15:16:54 -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
jmjatlanta
9bceade4d8 correctly handle empty list of replication servers 2017-07-31 08:50:20 -05:00
John Jones
d969f48324 implementation of bitswap network receive 2017-07-31 08:16:52 -05:00
John Jones
45c997cd9a Merge branch 'master' of https://github.com/kenCode-de/c-ipfs 2017-07-31 06:43:28 -05:00
John Jones
059a3286c9 More bitswap implementation 2017-07-31 06:43:15 -05:00
5941a3593a Added body transmitted directly in the API. 2017-07-28 00:43:36 -03: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
e1135fef3b Beginnings of the multithreaded engine
This engine has 2 threads. One to process the request queue, the other
to gather up and build peer messages and send them.
2017-07-27 08:38:57 -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
John Jones
108792ca44 More changes for bitswap 2017-07-24 17:58:39 -05:00
John Jones
3a8a85e628 More buildout of the Bitswap protocol 2017-07-24 16:03:56 -05:00
John Jones
9924d5dcf7 Connecting bitswap and blockstore 2017-07-24 14:56:30 -05:00
John Jones
4368e052e2 First cut of peer request queue complete 2017-07-24 10:26:07 -05:00
jmjatlanta
5507937bff Merge branch 'master' of https://github.com/kenCode-de/c-ipfs 2017-07-24 09:09:48 -05:00
jmjatlanta
a63910e0d7 Adding bitswap request queue 2017-07-24 09:09:22 -05:00
bde4d4debe Initial handling of http request structure. 2017-07-23 22:24:14 -03:00
f7ddfa0088 Fixed thread-safe in API. 2017-07-23 11:49:40 -03:00
John M. Jones
937504c3f2 Merge pull request #7 from PayasR/master
Fixed broken links
2017-07-22 06:31:30 -05:00
Payas
b26c94ec2d Fixed broken links 2017-07-21 22:39:50 -07:00
cce43e2bce Initial API implementation. 2017-07-21 00:40:43 -03:00
John Jones
2bb70b01be Some tweaks to avoid potential problems found during unit testing 2017-07-20 16:10:31 -05:00
jmjatlanta
f47a6116f0 Adding basic unit tests for Bitswap protobuf 2017-07-20 15:16:59 -05:00
jmjatlanta
2232d03854 Implementing protobuf objects for bitswap messages 2017-07-20 15:03:49 -05:00
jmjatlanta
1fe5be1c5c Reading replication parameters from config file 2017-07-20 09:12:31 -05:00
jmjatlanta
6e19c14bab directory modification 2017-07-20 08:03:34 -05:00
jmjatlanta
250b88601a Beginnings of bitswap 2017-07-20 07:57:20 -05:00
jmjatlanta
cb05b249ba Fixed warnings 2017-07-17 16:14:40 -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
f2e7c3c475 Missing null.h 2017-07-07 00:40:39 -03:00
297283168c Make sure don't crash if ipfs_routing_new_kademlia fails. 2017-07-07 00:11:52 -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