John Jones
a9481631df
Several memory leak fixes for journal code
2017-09-07 18:45:09 -05:00
John Jones
78904ff1b6
refactored datastore/journalstore for readability
2017-09-07 14:58:02 -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
John Jones
407f85bc89
More testing and compat fixes for ipfs
2017-08-31 16:41:10 -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
0066670f60
Datastore now returns a DatastoreRecord struct
...
When retrieving a record, a struct is returned, making it
much more user friendly.
2017-08-28 10:55:44 -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
2b24b00324
Cleanup of after free
2017-08-03 15:04:12 -05:00
jmjatlanta
d1d4d19fa8
Handling details of bitswap
2017-08-03 11:16:58 -05:00
jmjatlanta
82c8911b71
squelch some warnings
2017-07-31 15:22:49 -05:00
John Jones
835b70c97f
compare peer id from file with the one generated from the private key
2017-07-31 15:16:54 -05:00
John Jones
3a68619016
Fixed mem leak and more testing
2017-07-31 13:32:09 -05:00
jmjatlanta
e4f1c9b39c
Making providerstore smarter
2017-07-31 12:50:12 -05:00
jmjatlanta
9bceade4d8
correctly handle empty list of replication servers
2017-07-31 08:50:20 -05:00
John Jones
10aa932e08
Unit testing and memory fixes
2017-07-26 09:48:04 -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
John Jones
9924d5dcf7
Connecting bitswap and blockstore
2017-07-24 14:56:30 -05:00
jmjatlanta
1fe5be1c5c
Reading replication parameters from config file
2017-07-20 09:12:31 -05:00
a88636ae7e
Fixed IPFS_PATH environment var.
2017-06-06 21:42:38 -03: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
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
8edc94509c
c99 for centos
2017-03-21 15:20:52 +00: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
John Jones
daefe7604f
Beginning of implementation of smarter connections for daemon
2017-02-22 11:48:42 -05:00
John Jones
9379d0904f
Fixed the encoding of the private key in the config file
...
The old version had a unique way to store the private key in the config
file. Now we are compatible with the GO version.
2017-02-13 17:42:43 -05:00
John Jones
8e19636de5
Removed old peer id method
2017-02-02 19:09:50 -05:00
John Jones
be4bee3119
Upgraded to latest libp2p and fixed some warnings
2017-02-02 14:14:59 -05:00
7d3418e9c7
Added MINGW support for compiling in Windows
...
* Still need a fix for missing libresolv.
2017-01-12 18:45:44 -03:00
jmjatlanta
61d0adc445
misc tweaks and fixes
...
Now paying attention to the IPFS_PATH environment variable to determine
where the repository is. Fixed some broken tests. Fixed a bug whereby a
subdirectory within a subdirectory was not displaying correctly when
imported.
2017-01-01 23:48:09 -05:00
jmjatlanta
15b432c70e
Now using correct hashes on small files
...
Also added ipfs cat command line functionality
2016-12-23 12:53:03 -05:00
John Jones
8d2aeab016
Fixed various memory leaks
2016-12-23 10:49:30 -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
1d63cdb4a1
Persisting large files in chunks
2016-12-15 12:38:08 -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