Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

v2.0.0-beta3

Pre-release
Pre-release
Compare
Choose a tag to compare
@braydonf braydonf released this 10 May 18:50
· 9 commits to main since this release
04e96a5

Verify release by running sha256sum -c SHA256SUMS.asc and gpg --verify SHA256SUMS.asc

Implements SIP9 (Bandwidth Reputation and Accounting)

Pull request: #446 @aleitner

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

Included from earlier beta releases

Includes pull requests from an earlier beta:

  • Resolve bucket->created in create_bucket_request_worker #400
  • Populate HMAC value in file metadata #402
  • Avoid double call to json_object_put #403
  • Fixes #407: Add bucket_id to storj_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 a file_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 and storj_bridge_get_file_id #414
  • Changes data type as get_bucket_request_t for storj_bridge_get_bucket to have a decrypted bucket name #390
  • Changes signatures for storj_bridge_revolve_file and storj_bridge_store_file to allocate storj_upload_state_t and storj_download_state_t and return a pointer to it #393
  • Builds library with position independent code #388
  • Switches to use uv_default_loop() in storj_env_t by default #382
  • Adds cainfo_path to http_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