Go to file
Ivan Fraixedes 071d1c4313
upload: Add more info to returned error response & to logs (#3218)
* uplink/storage/segments: return error no optimal threshold
  Return an error if the store get less uploaded pieces than the indicated
  by the optimal threshold.

* satellite/metainfo: Fix gRPC status error & add reason
  This commit fix the CommitSegment endpoint method to return an
  "Invalid Argument" status code when uplink submits invalid data which is
  detected when filtering invalid pieces by filterInvalidPieces endpoint
  method.

  Because filterInvalidPieces is also used by CommitSegmentOld, such
  method part has been changed accordingly.

  * An initial check in CommitSegment to detect earlier if uplink sends an
    invalid number of upload pieces.
  * Add more information to some log messages.
  * Return more information to uplink when it sends a number of invalid
    pieces which make impossible to finish the operation successfully.

* satellite/metainfo: Swap some "sugar" loggers to normal ones
  Swap "sugar" loggers to normal ones because they impact the performance
  in production systems and they should only be used under specific
  circumstances which were none of the ones changed.
2019-10-17 20:01:40 +02:00
.github architecture-owner codeowners for design docs (#2735) 2019-08-07 17:13:50 -06:00
certificate Change Error Handling to return more clear messages to the user/client (#3254) 2019-10-12 20:51:20 +02:00
cmd satellite/console: payments api (#3297) 2019-10-17 17:42:18 +03:00
docs docs/blueprints: updating term to held amount (#3248) 2019-10-11 21:05:50 +03:00
examples examples/scope: small scope exploder command line tool (#3266) 2019-10-16 22:40:41 -06:00
installer/windows Installer: identity directory defaults to %APPDATA%\Storj\Identity\Storagenode (#3216) 2019-10-10 15:51:45 +02:00
internal satellite/metrics: create a metrics chore (#3263) 2019-10-16 14:08:33 -04:00
lib mobile: create release script (#3197) 2019-10-17 08:39:34 -07:00
linksharing metainfo: move api keys to part of the request (#3069) 2019-09-19 10:19:29 -06:00
pkg storagenode/cmd: add exit-status command for graceful exit (#3264) 2019-10-15 18:07:32 -04:00
resources Add LE CA to satellite and storagenode images (#1688) 2019-04-08 13:06:01 -04:00
satellite upload: Add more info to returned error response & to logs (#3218) 2019-10-17 20:01:40 +02:00
scripts satellite/metrics: create a metrics chore (#3263) 2019-10-16 14:08:33 -04:00
storage satellite/accounting: add redis support to live accounting (#3213) 2019-10-16 12:50:29 -04:00
storagenode add context.Clean and correct rpc error code (#3295) 2019-10-16 13:50:01 -04:00
uplink upload: Add more info to returned error response & to logs (#3218) 2019-10-17 20:01:40 +02:00
versioncontrol {versioncontrol,internal/version}: add rollout to versioncontrol server (#3176) 2019-10-16 10:16:59 +02:00
web satellite/console: payments api (#3297) 2019-10-17 17:42:18 +03:00
.clabot add siedov mykola to clabot (#3293) 2019-10-16 08:12:07 -06:00
.dockerignore Forward-port release-alpha8 build script issues (#1726) 2019-04-09 23:01:10 -06:00
.gitignore mobile: build libuplink aar (#3165) 2019-10-04 01:56:42 -07:00
.golangci.yml jenkins: update to golangci-lint 1.21.0 (#3289) 2019-10-17 10:42:22 +03:00
CODE_OF_CONDUCT.md Adding CODE_OF_CONDUCT to storj/storj repo (#779) 2018-12-07 15:10:02 -05:00
docker-compose.yaml Delete Bootstrap and Kademlia (#2974) 2019-10-04 16:48:41 -04:00
Dockerfile.jenkins jenkins: update to golangci-lint 1.21.0 (#3289) 2019-10-17 10:42:22 +03:00
go.mod storagenode/cmd: create start graceful exit CLI (#3202) 2019-10-11 09:58:12 -04:00
go.sum storagenode/cmd: create start graceful exit CLI (#3202) 2019-10-11 09:58:12 -04:00
Jenkinsfile installer/windows: add to private Jenkins build (#3206) 2019-10-08 13:51:22 +02:00
Jenkinsfile.drpc CI: test drpc and grpc (#3163) 2019-10-11 08:30:06 -06:00
Jenkinsfile.public scripts: add check-monitoring script to detect changes to monkit calls (#3114) 2019-10-15 13:00:14 -04:00
LICENSE license code with agplv3 (#126) 2018-07-05 10:24:26 -04:00
Makefile mobile: create release script (#3197) 2019-10-17 08:39:34 -07:00
monkit.lock scripts: add check-monitoring script to detect changes to monkit calls (#3114) 2019-10-15 13:00:14 -04:00
package-lock.json Satellite api keys frontend (#1039) 2019-02-01 18:19:30 +02:00
proto.lock storagenode/cmd: add exit-status command for graceful exit (#3264) 2019-10-15 18:07:32 -04:00
README.md update to go 1.13 (#3140) 2019-09-29 04:40:07 +02:00

Storj V3 Network

Go Report Card Go Doc Coverage Status Alpha

Storj is building a decentralized cloud storage network. Check out our white paper for more info!


Storj is an S3-compatible platform and suite of decentralized applications that allows you to store data in a secure and decentralized manner. Your files are encrypted, broken into little pieces and stored in a global decentralized network of computers. Luckily, we also support allowing you (and only you) to retrieve those files!

Table of Contents

Contributing to Storj

All of our code for Storj v3 is open source. Have a code change you think would make Storj better? Please send a pull request along! Make sure to sign our Contributor License Agreement (CLA) first. See our license section for more details.

Have comments or bug reports? Want to propose a PR before hand-crafting it? Jump on to our Rocketchat and join the #dev channel to say hi to the developer community and to talk to the Storj core team.

Want to vote on or suggest new features? Post it on ideas.storj.io.

Issue tracking and roadmap

See the breakdown of what we're building by checking out the following resources:

Install required packages

To get started running Storj locally, download and install the latest release of Go (at least Go 1.13) at golang.org.

You will also need Git. (brew install git, apt-get install git, etc). If you're building on Windows, you also need to install and have gcc setup correctly.

We support Linux, Mac, and Windows operating systems. Other operating systems supported by Go should also be able to run Storj.

Download and compile Storj

Aside about GOPATH: Go 1.11 supports a new feature called Go modules, and Storj has adopted Go module support. If you've used previous Go versions, Go modules no longer require a GOPATH environment variable. Go by default falls back to the old behavior if you check out code inside of the directory referenced by your GOPATH variable, so make sure to use another directory, unset GOPATH entirely, or set GO111MODULE=on before continuing with these instructions.

First, fork our repo and clone your copy of our repository.

git clone git@github.com:<your-username>/storj storj
cd storj

Then, let's install Storj.

go install -v ./cmd/...

Make changes and test

Make the changes you want to see! Once you're done, you can run all of the unit tests:

go test -v ./...

You can also execute only a single test package if you like. For example: go test ./pkg/identity. Add -v for more informations about the executed unit tests.

Push up a pull request

Use Git to push your changes to your fork:

git commit -a -m 'my changes!'
git push origin master

Use Github to open a pull request!

Start using Storj

Our wiki has documentation and tutorials. Check out these three tutorials:

License

The network under construction (this repo) is currently licensed with the AGPLv3 license. Once the network reaches beta phase, we will be licensing all client-side code via the Apache v2 license.

For code released under the AGPLv3, we request that contributors sign our Contributor License Agreement (CLA) so that we can relicense the code under Apache v2, or other licenses in the future.

Support

If you have any questions or suggestions please reach out to us on Rocketchat or email us at support@tardigrade.io.