Commit Graph

29 Commits (master)

Author SHA1 Message Date
John Jones 71c216defb Better handling of bad memory allocation 2017-10-05 15:14:47 -05:00
John Jones 87cc96a011 Fix of memory leak 2017-09-28 13:48:57 -05:00
jmjatlanta 3d425bb30f Fixes for remote file retrieval 2017-09-28 07:58:51 -05:00
jmjatlanta b301c7e4d2 Preparing for name resolve and name publish 2017-09-21 09:47:16 -05:00
jmjatlanta 2b24b00324 Cleanup of after free 2017-08-03 15:04:12 -05:00
jmjatlanta e4f1c9b39c Making providerstore smarter 2017-07-31 12:50:12 -05:00
John Jones 692d3406c8 Implementation of a universal bitswap queue
This queue stores both local and remote requests for blocks
2017-07-26 07:38:47 -05:00
jmjatlanta 1fe5be1c5c Reading replication parameters from config file 2017-07-20 09:12:31 -05:00
John Jones a5e5a71ddd Fixes for various memory leaks 2017-05-11 13:53:52 -05:00
John Jones e756fdf510 Memory and test fixes 2017-04-27 11:35:26 -05:00
John Jones 03696dd6e7 Major changes to support large file transfer 2017-04-20 17:56:03 -05:00
John Jones 427b5c948f Added routines to cleanly shutdown daemon
This still needs more work, but the mechanism now exists
2017-04-17 11:58:47 -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 94d6005587 Moved datastore interface from ipfs to libp2p 2017-04-06 09:33:28 -05:00
John Jones 59af1c0b9e Using config file for bootstrap of kademlia 2017-03-24 16:51:00 -05: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
jmjatlanta bf0cbfb412 Removed compiler warnings, starting to import large files 2016-12-14 06:25:09 -05:00
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 f79d2f9f0c Removal of incorrect copyright notice 2016-12-05 07:12:23 -05:00
John Jones 5b7f89bdf1 Fixed memory leaks 2016-12-01 13:08:30 -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
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
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
John Jones 8d82e8235b Adjusted makefiles 2016-11-07 16:29:30 -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 e1c1a7ffbf many changes in layout, addition of mbedtls library for RSA encryption. 2016-10-31 11:13:42 -05:00
jmjatlanta 9c309ebbc6 More buildout of necessary structs 2016-10-27 13:11:34 -05:00