This repository was archived by the owner on Oct 30, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 89
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 tasks
5149412
to
340bd78
Compare
As a transfer token will be sent in addition, the tokens will need to be persistent on restart of the shard server, and the TTL of the OFFER and token will need to be syncronized. As the bottleneck has been around receiving OFFERs and not during consignment, optimizing this to all be done in one step, can be handled at a later step. Making sure that OFFER works reliabily is the top priority.
This will provide the ability to receive an offer using the same TCP socket, a step forward towards load balancing the renters and following a request/response pattern. It'll also avoid an additional network consignment call for better effeciency.
Depricated and can be removed as well: https://github.com/braydonf/storj-lib/blob/sip6/.gitattributes |
Lets say a renter uploads the same file with the same encrpytion to two bridges. At the end my farmer will store one shard with two contracts. The current implementation will only look at the first contract and will ignore the second contract. The renter is not able to download his shard from the second bridge.
|
Used this instead:
May need to use the hdKey instead, we'll see. |
Actually, looks like we can just use this:
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implements https://github.com/Storj/sips/blob/master/sip-0006.md
Part of: storj-archived/integration#5