jmjatlanta
033dd767b4
More work on persisting data to disk.
...
Blockstore now storing the data, whereas datastore is storing the key
and filename. The key should be the multihash (currently the sha256, not
the multihash), and the value is the filename (base32).
2016-12-14 12:07:43 -05:00
John Jones
88d177cf4a
Fixed minor leak in test and more compiler warnings
2016-12-14 06:39:06 -05:00
jmjatlanta
bf0cbfb412
Removed compiler warnings, starting to import large files
2016-12-14 06:25:09 -05:00
John Jones
876e2dfcf2
Fixed memory leaks around node and allocations
2016-12-12 18:27:46 -05:00
jmjatlanta
a36ba20557
made node links a single linked list instead of array
...
This will save some complicated memory allocations
2016-12-12 16:58:27 -05:00
jmjatlanta
4fe768c2c5
Working with nodes to add protobuf to persist to db
...
adding a link to a node does a realloc. I believe this is causing
problems. I am going to replace this and see if that fixes the issue.
2016-12-12 15:06:17 -05:00
jmjatlanta
e0b0552b39
Pushing Cid into protobuf
2016-12-12 06:27:06 -05:00
John Jones
a180a63160
Setting uninitialized values
...
Uninitialized values should be set to NULL to aid in memory deallocation
at cleanup time.
2016-12-05 18:17:17 -05:00
jmjatlanta
b9b90014a6
Fixed tests
2016-12-05 06:13:20 -05:00