Commit Graph

43 Commits (596a811d5e5cd81f019e10121c0938fd254f5fe3)

Author SHA1 Message Date
jmjatlanta 3eec8553a6 Began implementing updates to journal timestamp 2017-09-13 12:40:48 -05:00
John Jones a9481631df Several memory leak fixes for journal code 2017-09-07 18:45:09 -05:00
John Jones cb1ea3ceff Sorting a memory leak in datastore/journalstore 2017-09-07 11:05:56 -05:00
jmjatlanta bf7ba9049c Implementation of timestamp in both datastore and journalstore 2017-09-04 17:10:57 -05:00
jmjatlanta bf87d93136 Updating cid codes 2017-09-04 13:33:56 -05:00
jmjatlanta 1eab27fa0e journalio working, needs tuning 2017-08-31 06:41:54 -05:00
jmjatlanta 49bd61feb1 Testing journalio protocol 2017-08-30 11:10:14 -05:00
jmjatlanta 1b69cdf1e8 Implemented client side of journaling protocol 2017-08-28 06:56:22 -05:00
jmjatlanta 60c6085469 Code complete for client side of journal protocol 2017-08-24 13:30:44 -05:00
jmjatlanta 0bc975dfcf journaling protocol 2017-08-24 10:08:27 -05:00
jmjatlanta d13e4b4318 Added journaling when a file is saved - beginning of backup scheme 2017-08-21 14:49:21 -05:00
jmjatlanta e4f1c9b39c Making providerstore smarter 2017-07-31 12:50:12 -05:00
jmjatlanta 1fe5be1c5c Reading replication parameters from config file 2017-07-20 09:12:31 -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 794608a7ea Added -c or -config command line parameter
You can now specify the ipfs repository directory from the command line
by using -c [dir] or --config [dir]
2017-04-06 17:46:40 -05:00
John Jones 94d6005587 Moved datastore interface from ipfs to libp2p 2017-04-06 09:33:28 -05:00
John Jones e90d966e44 Adding network and swarm functionality 2017-04-03 11:55:36 -05:00
John Jones 59af1c0b9e Using config file for bootstrap of kademlia 2017-03-24 16:51:00 -05:00
John Jones 8feb946087 debugging daemon 2017-03-24 14:29: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 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
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 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
jmjatlanta 34301c286e Storing large files
Files larger than about 200K are split into smaller files and stored in
the ipfs file system in blocks.
2016-12-15 05:40:24 -05:00
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
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 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
John Jones bf9ddfd6f6 Turned on warnings for compilation 2016-12-05 06:54:21 -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 32d187faa4 adjusted makefiles, generating config file for new ipfs repository 2016-11-10 08:28:51 -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