Commit graph

126 commits

Author SHA1 Message Date
John Jones
4626b69381 More code for storage
Pushing through on the ipfs block put use case. Building out the
necessary code to write to the blockstore.
2016-11-28 16:13:46 -05:00
74a5afe169 Merge branch 'master' of https://github.com/kenCode-de/c-ipfs 2016-11-28 10:18:36 -03:00
John Jones
50ffade515 More work on storage and cleanup
Added flatfs, as well as fixed some memory leaks. Valgrind across tests
now reports 0 memory leaks.
2016-11-28 08:09:00 -05:00
a21330af43 Initial implementation of namesys/dns.c 2016-11-27 10:57:28 -03:00
ac4cc8feaa path/path.c: Implemented SplitN.
Renamed Segments() to SplitN(), added parameters, and created a new
Segments() using SplitN() while maintaining the original functionality.
2016-11-26 10:39:53 -03:00
0f5964ad3c path/path.c: Changed PopLastSegment parameters order. 2016-11-26 10:20:23 -03:00
63c7bd72e2 Initial implementation of namesys/isdomain 2016-11-24 19:52:19 -03:00
b1d5440303 namesys: Fixed ErrNamesys error. 2016-11-24 19:49:26 -03:00
ef2f112f6a Initial implementation of namesys/proquint 2016-11-24 09:50:05 -03:00
05c45666e5 Added path pointer used to return value in Resolve and ResolveN. 2016-11-24 07:52:15 -03:00
7ddba70ada Initial implementation of namesys. 2016-11-23 17:19:16 -03:00
8ed4f62526 Fixed PathFromCid(), Cid is an struct, not an array. 2016-11-17 17:47:31 -03:00
1a8e024fb9 Merge branch 'master' of https://github.com/kenCode-de/c-ipfs 2016-11-17 17:14:39 -03:00
John Jones
c64a700223 The beginnings of datastore
A lot of code cleanup, plus beginning the implementation of a datastore.
2016-11-17 15:07:59 -05:00
792ee026db Initial path/ implementation. 2016-11-17 17:06:17 -03:00
John Jones
02c5552cd6 Added multibase and cid 2016-11-13 21:01:51 -05:00
John Jones
f42c92ea63 method names standardized 2016-11-10 16:36:34 -05:00
John Jones
32d187faa4 adjusted makefiles, generating config file for new ipfs repository 2016-11-10 08:28:51 -05:00
John Jones
8d82e8235b Adjusted makefiles 2016-11-07 16:29:30 -05:00
jmjatlanta
eb2ed30a24 Moving crypto stuff to libp2p 2016-11-03 10:22:17 -05:00
jmjatlanta
cba5d5cf20 finally actually writing the config file, although the peerid and private key are not included 2016-11-02 23:05:29 -05:00
jmjatlanta
d30fa55af7 memory cleanup reorganized 2016-11-02 13:44:56 -05:00
jmjatlanta
0d8f599ac9 Config file is now closer to completion. Still need to figure out ASN.1 DER for private key, and add peer id to config file 2016-11-02 13:09:38 -05:00
jmjatlanta
772857312f More work on the config file. Attempting to replicate the go version of the private key base64. 2016-10-31 17:19:27 -05:00
jmjatlanta
3354ade018 added base64 of pub/private key pair 2016-10-31 14:13:20 -05:00
jmjatlanta
e1c1a7ffbf many changes in layout, addition of mbedtls library for RSA encryption. 2016-10-31 11:13:42 -05:00