v2.0.0-beta3
Pre-releaseVerify release by running sha256sum -c SHA256SUMS.asc
and gpg --verify SHA256SUMS.asc
Implements SIP9 (Bandwidth Reputation and Accounting)
SIP9 changes the way nodes in the network are ranked with reputation and influences how data is stored in the network. Nodes operating nominally with higher availability will receive more contracts than nodes who have lower availability. Clients report the success and failure of data transfers to improve the overall health of the network.
Notice: This is currently available for testing in staging environments (2018-5-4)
For more details on SIP9, please see https://github.com/storj/sips/blob/master/sip-0009.md
Adds new CLI commands
Pull requests: #422 #416 @aligeti
New command line arguments have been added, including: ls
, cp
, mkbkt
, rm
and lm
:
unix style commands:
ls lists the available buckets
ls <bucket-name> lists the files in a bucket
cp [-rR] <path> <uri> upload files to a bucket (e.g. storj cp -[rR] /<some-dir>/* storj://<bucket-name>/)
cp [-rR] <uri> <path> download files from a bucket (e.g. storj cp -[rR] storj://<bucket-name>/ /<some-dir>/)
mkbkt <bucket-name> make a bucket
rm <bucket-name> <file-name> remove a file from a bucket
rm <bucket-name> remove a bucket
lm <bucket-name> <file-name> list mirrors
Bug fixes
- Gets the erasure type when listing files #430 @kaloyan-raev
- Erasure and index when listing files #426 @kaloyan-raev
- Handle a null mnemonic #423 @kaloyan-raev
- Patch for cross-compiling DLLs on Ubuntu 14.04 #445 @kaloyan-raev
- Distinguish between not authorized and not activated #424 @braydonf
Included from earlier beta releases
Includes pull requests from an earlier beta:
- Resolve
bucket->created
increate_bucket_request_worker
#400 - Populate HMAC value in file metadata #402
- Avoid double call to
json_object_put
#403 - Fixes #407: Add
bucket_id
tostorj_file_meta_t
#408 - Decrypt file name in
storj_bridge_get_file_info()
#409 - Provide file metadata in
storj_finished_upload_cb
, not only file id #410 - Fix segfault if mnemonic is null #412
- Fixes #413: API for getting bucket and file by name #414
- Free index on upload state #417
Includes changes and additions from earlier beta:
- Second argument in upload file complete callback is now
storj_file_meta_t
pointer instead of just afile_id
pointer. #410 - Filename is now decrypted for
storj_bridge_get_file_info
#409 - Two new functions have been added for getting file and bucket ids by name
storj_bridge_get_bucket_id
andstorj_bridge_get_file_id
#414 - Changes data type as
get_bucket_request_t
forstorj_bridge_get_bucket
to have a decrypted bucket name #390 - Changes signatures for
storj_bridge_revolve_file
andstorj_bridge_store_file
to allocatestorj_upload_state_t
andstorj_download_state_t
and return a pointer to it #393 - Builds library with position independent code #388
- Switches to use
uv_default_loop()
instorj_env_t
by default #382 - Adds
cainfo_path
tohttp_options
#365
Includes fixes from 1.0.0 branch:
- Ensure erasure and index are properly initialized #379
- Update CLI list mirrors command output #380
- Fix windows bug when recovering the last shard #357
Release directories & files:
./bin/storj
- CLI for file transfer (standalone)./depends
- Includes libstorj dependencies statically compiled for linking./include
- Includes libstorj header files./lib
- Includes libstorj static library for linking