Commit Graph

68 Commits (master)

Author SHA1 Message Date
Jose Marcial Vieira Bisneto ee0c287a34
Fix compilation reported in issue #16 2019-01-02 21:36:18 -03:00
Jose Marcial Vieira Bisneto 662825493d
Dependencies: add c-libp2p and lmdb as submodules 2019-01-02 12:51:29 -03:00
John Jones 9bdfed92f1 Merge branch 'master' into yamux
# Conflicts:
#	core/http_request.c
2017-11-29 06:21:49 -05:00
jmjatlanta f9bec0ac20 New way of swarm connection 2017-10-23 15:22:12 -05:00
Jose Marcial Vieira Bisneto ae6fe6dc29
Changed some API calls to use POST method. 2017-10-12 20:12:28 -03:00
jmjatlanta b99a78a4d3 Merge branch 'master' of https://github.com/Agorise/c-ipfs
Conflicts:
	test/scripts/run_tests.sh
	test/testit.c
2017-10-09 09:12:14 -05:00
jmjatlanta c0855c9630 Going through tests, verifying functionality 2017-10-09 09:00:48 -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
John Jones 42aa1646ab Misc changes to support binary upload 2017-10-04 09:36:38 -05:00
John Jones b9c28ceed4 Adjustments to handle retrieval of binary files 2017-10-04 07:33:29 -05:00
John Jones 27d36d8320 Minor memory leak fixes 2017-09-28 15:43:03 -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 f5250a71f3 more changes to implement api for dht provide and get 2017-09-27 11:45:36 -05:00
jmjatlanta 76b860c06f Attempting to bitswap from previously unknown node 2017-09-27 10:05:17 -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 cb1ea3ceff Sorting a memory leak in datastore/journalstore 2017-09-07 11:05:56 -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 4af0bedba1 Added missing ipfsaddr header. 2017-06-29 21:05:12 -03:00
Jose Marcial Vieira Bisneto 9f190fb5dc Implemented kademlia bootstrap. 2017-06-29 20:51:24 -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