Commit graph

88 commits

Author SHA1 Message Date
jmjatlanta
da6490ac7f Implementation of MerkleDag get and put
Now saving and retrieving MerkleDags that contain data. Now need to work
with links and other types.
2016-12-05 17:23:58 -05:00
jmjatlanta
8a80d2afc7 now not permitting duplicate keys in the database 2016-12-05 14:34:10 -05:00
John Jones
a7d8bc82b7 Fixed memory leak in test 2016-12-05 13:36:24 -05:00
jmjatlanta
f9d927f375 Beginnings of testing for MerkleDag 2016-12-05 13:11:22 -05:00
jmjatlanta
0245aa6549 Starting implementation of MerkleDag 2016-12-05 10:50:17 -05:00
jmjatlanta
5f452969fd Merge branch 'master' of https://github.com/kenCode-de/c-ipfs 2016-12-05 07:12:37 -05:00
jmjatlanta
f79d2f9f0c Removal of incorrect copyright notice 2016-12-05 07:12:23 -05:00
496ae3ec6c namesys/path: Renamed the function names to match the rest of the project. 2016-12-05 08:55:17 -03:00
John Jones
bf9ddfd6f6 Turned on warnings for compilation 2016-12-05 06:54:21 -05:00
jmjatlanta
362ef81cb7 Merge branch 'xethyrion-master' 2016-12-05 06:14:11 -05:00
jmjatlanta
b9b90014a6 Fixed tests 2016-12-05 06:13:20 -05:00
jmjatlanta
8d0aa3372d Merge branch 'master' of https://github.com/xethyrion/c-ipfs into xethyrion-master 2016-12-05 05:27:07 -05:00
xethyrion
53b893bda2 Update testit.c 2016-12-04 22:13:57 +02:00
xethyrion
0052ef8ca2 Create Example for this.c 2016-12-04 22:11:10 +02:00
xethyrion
5627bb3992 Update node.h 2016-12-04 22:10:41 +02:00
xethyrion
2ee91f7621 Update testit.c 2016-12-03 22:52:49 +02:00
xethyrion
fd263362cb Delete testit.c_PREVIEW_DO_NOT_USE 2016-12-03 22:51:48 +02:00
xethyrion
d1f85627b1 Delete node_PREVIEW_DO_NOT_USE_YET.h 2016-12-03 22:51:40 +02:00
xethyrion
9fdda102c7 Update node.h 2016-12-03 22:51:15 +02:00
316c880bd1 namesys: Added missing proquint prototypes. 2016-12-01 19:32:29 -03:00
33afac194a proquint: Implemented IPv6 suport. 2016-12-01 19:29:43 -03:00
9ba3112b97 path/namesys: Unified resolver struct. 2016-12-01 19:25:16 -03:00
xethyrion
9d3eeabfe1 Create testit.c_PREVIEW_DO_NOT_USE 2016-12-01 21:27:18 +02:00
xethyrion
b55dc4d96e Create node_PREVIEW_DO_NOT_USE_YET.h 2016-12-01 21:26:26 +02:00
John Jones
5b7f89bdf1 Fixed memory leaks 2016-12-01 13:08:30 -05:00
a4b6a14ea5 Initial implementation of path/resolver 2016-12-01 06:48:16 -03:00
John Jones
8553fcf6c1 Merge branch 'master' of https://github.com/kenCode-de/c-ipfs 2016-11-30 11:47:01 -05:00
John Jones
b462d9ef53 More storage implementation
Successfully writing to lightningdb. Now to pull it back out. Also need
to write to the blockstore.
2016-11-30 11:46:41 -05:00
e89b5515c2 Endianness verified using MIPS-BE emulated with qemu. 2016-11-30 07:02:07 -03:00
8f686f6115 Added namesys/proquint_test, a small test sample. 2016-11-29 21:04:40 -03:00
75f86b4107 Implemented encode and decode routines in namesys/proquint 2016-11-29 20:55:59 -03:00
cba5839f56 namesys: Created empty DNSResolver struct. 2016-11-29 20:35:55 -03:00
d761e6062b path: Fixed ErrPath error. 2016-11-29 20:34:59 -03:00
d6e92026a2 Merge branch 'master' of https://github.com/kenCode-de/c-ipfs 2016-11-29 08:27:46 -03:00
47e035e29f Fixed some memory leaks in namesys/dns and path/path 2016-11-29 08:26:05 -03:00
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
8da6e2df69 path/path.c: Changed some comments. 2016-11-26 10:15:41 -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
John Jones
81a0cc791e added Eclipse project files 2016-11-17 16:30:39 -05:00
1f10b99939 Improved path/path.c code readability. 2016-11-17 18:14:19 -03:00
8ed4f62526 Fixed PathFromCid(), Cid is an struct, not an array. 2016-11-17 17:47:31 -03:00