Commit Graph

162 Commits (0bc975dfcfb43618ee6bd2d8ddc8019914f26af5)

Author SHA1 Message Date
jmjatlanta 0bc975dfcf journaling protocol 2017-08-24 10:08:27 -05:00
jmjatlanta d13e4b4318 Added journaling when a file is saved - beginning of backup scheme 2017-08-21 14:49:21 -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
John Jones e58909b875 Handle entry in WantlistQueue only once if we found provider 2017-08-02 11:43:48 -05:00
jmjatlanta 17dbad3bce clean up peer request queue after message send 2017-08-02 10:52:35 -05:00
jmjatlanta e5e565272e Continue to listen to connected peers within bitswap engine 2017-08-02 09:43:27 -05:00
jmjatlanta 0638996684 processing want list 2017-08-02 07:04:06 -05:00
jmjatlanta 836fb5387b Attempting to fulfill remote requests 2017-07-31 17:59:51 -05:00
John Jones ac5a622400 Passing SessionContext instead of Stream 2017-07-31 13:54:09 -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 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
Jose Marcial Vieira Bisneto 5941a3593a Added body transmitted directly in the API. 2017-07-28 00:43:36 -03: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
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
Jose Marcial Vieira Bisneto bde4d4debe Initial handling of http request structure. 2017-07-23 22:24:14 -03:00
Jose Marcial Vieira Bisneto cce43e2bce Initial API implementation. 2017-07-21 00:40:43 -03: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
John Jones 069379acf4 Fix of a few compiler warnings 2017-07-17 13:05:56 -05:00
Jose Marcial Vieira Bisneto 13b8b8bf27 Null routing code reallocated to facilitate routing protocol swap. 2017-07-06 23:51:53 -03:00
John Jones e756fdf510 Memory and test fixes 2017-04-27 11:35:26 -05:00
John Jones 43bf2caeff Tested and made adjustments for large file transfers 2017-04-24 16:33:59 -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 794608a7ea Added -c or -config command line parameter
You can now specify the ipfs repository directory from the command line
by using -c [dir] or --config [dir]
2017-04-06 17:46:40 -05:00
John Jones 94d6005587 Moved datastore interface from ipfs to libp2p 2017-04-06 09:33:28 -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 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 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 640e4be5be fix for strtok_r 2017-03-21 13:40:46 -05:00
John Jones 25a2fa0c65 Testing string tokenizer 2017-03-21 12:58:39 -05:00