Commit graph

65 commits

Author SHA1 Message Date
9491e69d76
Added ipns support for cat/get commands. 2018-10-25 19:14:47 -03:00
John Jones
9bdfed92f1 Merge branch 'master' into yamux
# Conflicts:
#	core/http_request.c
2017-11-29 06:21:49 -05:00
jmjatlanta
b72f247939 More implementation of dialer 2017-10-23 18:03:55 -05:00
jmjatlanta
91f5c50a71 Network write methods now expect struct StreamMessage 2017-10-23 09:48:19 -05:00
jmjatlanta
9afaf535d6 Reading from stream now uses a StreamMessage struct 2017-10-23 09:03:30 -05:00
ae6fe6dc29
Changed some API calls to use POST method. 2017-10-12 20:12:28 -03: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
8aa7b7ca77 Added more tests, fixed bug with binary file xfer 2017-10-04 08:42:00 -05:00
John Jones
b9c28ceed4 Adjustments to handle retrieval of binary files 2017-10-04 07:33:29 -05:00
jmjatlanta
7f89e80d7b Debugging 2017-09-28 13:21:34 -05:00
jmjatlanta
81e103f1e0 Fix for object get when api not running 2017-09-27 07:02:00 -05:00
jmjatlanta
2cc7f52fbf fixed attempt to free a non allocated string 2017-09-26 09:43:10 -05:00
John Jones
5bcd3a99f2 various fixes for object_get 2017-09-25 17:56:10 -05:00
jmjatlanta
5404fce6ec move api globals to struct 2017-09-25 08:55:42 -05:00
jmjatlanta
2051f7714a ipfs name command line options processing 2017-09-21 07:51:18 -05:00
a907f1dd2d
The API changed pthread to scope, so it can load multiple instances. 2017-09-20 14:39:26 -03:00
jmjatlanta
9a49ddd27b Start of client_api.c 2017-09-20 09:11:01 -05:00
jmjatlanta
81d2252229 Now compiling with api changes 2017-09-20 07:53: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
8a492c1e2f fixed memory leak 2017-08-16 06:41:48 -05:00
jmjatlanta
e4f1c9b39c Making providerstore smarter 2017-07-31 12:50:12 -05:00
John Jones
def5331d4c Better handling of locally stored files 2017-05-11 07:04:54 -05:00
John Jones
3de4b757e4 Bugfixes and unit test fixes 2017-04-27 15:52:20 -05: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
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
5d558f5229 Correctly parsing command line parameters for ipfs add 2017-04-06 19:05:30 -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
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
8feb946087 debugging daemon 2017-03-24 14:29:00 -05:00
John Jones
8edc94509c c99 for centos 2017-03-21 15:20:52 +00: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
93c4988f90 Added utility functions to multiaddress
Parsing of typical IP addresses is now easier
2017-03-09 18:47:27 -05:00
John Jones
d4fee344a7 Fixes for connections via secio 2017-03-02 16:18:02 -05:00
3a38623dcc Fixed key length validation. 2017-03-01 14:28:17 -03:00
John Jones
f1aac5d707 Starting to handle get_value request 2017-02-27 12:27:40 -05:00
John Jones
9882c28743 Fixed memory leaks
Several tests had memory leaks. As well found a few leaks within the
importer and resolver areas.
2017-01-02 00:38:09 -05:00
jmjatlanta
61d0adc445 misc tweaks and fixes
Now paying attention to the IPFS_PATH environment variable to determine
where the repository is. Fixed some broken tests. Fixed a bug whereby a
subdirectory within a subdirectory was not displaying correctly when
imported.
2017-01-01 23:48:09 -05:00
jmjatlanta
c2fe60949e Added the ability to retrieve the file using directories
Files can be refered to directly using their hash, or the hash of their
directory and the file name.
2016-12-29 19:05:44 -05:00
jmjatlanta
396dfc6abc Directory hashes match 2016-12-29 04:42:01 -05:00
jmjatlanta
fa3dd77e96 Saving directories 2016-12-28 22:45:35 -05:00
jmjatlanta
9d77b2709f Beginnings of handling multiple files 2016-12-27 21:39:58 -05:00
jmjatlanta
8f44c857db Hashes match on large files 2016-12-23 20:12:51 -05:00