Commit graph

373 commits

Author SHA1 Message Date
John Jones
81fe9305bf Adjusting to use the better multihash implementation 2017-02-13 07:43:18 -05:00
4cd4750f6f namesys: Fixed some compilation errors. 2017-02-13 08:52:22 -03:00
John Jones
c972852c9a Fixed some compiler warnings 2017-02-13 05:34:56 -05:00
0522bedd2a Implemented initial core/ping.
A fake plaintext ping/pong implementation, for now it's just
   to use as a POC for multistream and secio.
2017-02-09 23:53:58 -03:00
de6c4b2495 Initial implementation of core/daemon. 2017-02-09 22:10:21 -03:00
cd09930077 Fixed path/path compilation. 2017-02-09 18:32:12 -03:00
1535273259 Initial implementation of routing/offline. 2017-02-02 22:15:28 -03:00
John Jones
33431a3007 Merge branch 'master' of https://github.com/kenCode-de/c-ipfs 2017-02-02 19:10:10 -05:00
John Jones
8e19636de5 Removed old peer id method 2017-02-02 19:09:50 -05:00
2431aba246 Complement of last commit, same return to mkdir condition. 2017-02-02 19:44:32 -03:00
John Jones
be4bee3119 Upgraded to latest libp2p and fixed some warnings 2017-02-02 14:14:59 -05:00
John Jones
e88f40cad0 Merge branch 'master' of https://github.com/kenCode-de/c-ipfs 2017-02-02 14:11:14 -05:00
John Jones
a3ec7bf41d Small change to provide a little more information for testing 2017-02-02 14:10:55 -05:00
ken Code
631835e23b Update LICENSE 2017-01-31 17:10:12 +01:00
3e39fec066 Merge pull request #5 from squishyhuman/fix-uninitialized-var
Fix use of uninitialized variable
2017-01-20 08:17:33 -03:00
squishyhuman
929bc07168 Fix possible memory leak 2017-01-19 12:25:48 -08:00
squishyhuman
1a13f39cf6 Fix use of uninitialized variable 2017-01-19 12:25:31 -08:00
7d3418e9c7 Added MINGW support for compiling in Windows
* Still need a fix for missing libresolv.
2017-01-12 18:45:44 -03:00
3c3474eacd Fixed bug during compilation. 2017-01-05 21:18:50 -03:00
6448a35a72 Implemented ipfs_pin_has_child 2017-01-05 19:01:24 -03:00
4c330e29be Initial implementation of pin/set 2017-01-05 18:55:39 -03: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
e1582544b1 Using ns_c_in and ns_t_txt for compatibility with OSX. 2016-12-30 20:52:15 -03:00
f7a029ade3 Added pinned struct. 2016-12-30 02:55:25 -03:00
9d194ad484 Implemented conversion between PinMode and string. 2016-12-30 01:50:45 -03:00
ef380f2a69 Initial implementation of pin/pin 2016-12-30 01:18:03 -03:00
d9774095d3 Removed unnecessary debugging in dnslink/dnslink. 2016-12-30 00:09:36 -03:00
37bab54a5c Fix undefined reference to `Err' 2016-12-30 00:07:44 -03:00
jmjatlanta
addb5ba302 Merge branch 'master' of https://github.com/kenCode-de/c-ipfs 2016-12-29 19:06:34 -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
00bf29b0fa Added -r for recursion in dns command. 2016-12-29 20:05:53 -03: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
John Jones
3004f1411a More memory fixes 2016-12-23 19:08:41 -05:00
jmjatlanta
1dcbf8962e Intermediate save for hash matching 2016-12-23 17:21:04 -05:00
jmjatlanta
15b432c70e Now using correct hashes on small files
Also added ipfs cat command line functionality
2016-12-23 12:53:03 -05:00
John Jones
8d2aeab016 Fixed various memory leaks 2016-12-23 10:49:30 -05:00
jmjatlanta
914d3caaed Intermidiate commit with big changes to storage formats
I am attempting to match the storage format of the reference
implementation, so as to generate the same hashes.
2016-12-23 09:37:43 -05:00
a569159cc2 Added command ipfs dns 2016-12-23 00:51:06 -03:00
5f22be643c Commented missing implementation at path. 2016-12-23 00:46:31 -03:00
7691fe0dc2 Created errs.c and moved to util directory. 2016-12-23 00:45:13 -03:00
049078effc Some changes at namesys. 2016-12-23 00:28:30 -03:00
jmjatlanta
da4b1f86f4 Added command ipfs object get [hash]
This will display the formatted data of a MerkleDag (links and data)
2016-12-22 10:21:18 -05:00
jmjatlanta
7fa0fc6a7b Added a simplistic command line.
From the command line, you can init the repository or add a file.
Directories coming soon...
2016-12-21 08:08:44 -05:00
jmjatlanta
f8cdaf0a97 Merge branch 'master' of https://github.com/kenCode-de/c-ipfs 2016-12-21 06:40:31 -05:00
jmjatlanta
c8fdb084e4 Moving closer to binary compatability with go version of ipfs
The files are now stored in the same format. Now it is necessary to
reverse engineer the directory structure
2016-12-21 06:40:19 -05:00
b17403b61a Initial implementation of namesys/publisher 2016-12-21 07:21:40 -03:00