Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Implement SIP6 #5

Merged
merged 20 commits into from
Sep 5, 2017
Merged

Implement SIP6 #5

merged 20 commits into from
Sep 5, 2017

Conversation

braydonf
Copy link
Contributor

@braydonf braydonf commented Jul 13, 2017

Implements https://github.com/Storj/sips/blob/master/sip-0006.md

Combines these branches for development:

Todo:

  • Add publishContract to complex client
  • Update lastContractSent on the contact when publish message sent (or equivalent)
  • Update storage models to have updated fields for contact and necessary indexes
  • Connect _selectFarmers and _publishContract to addShardToFrame
  • Make sure that contract is sent to nodes/farmers with capacity available
  • Determine value for PUBLISH_BENCH_THRESHOLD (now configurable)

Testing:

  • Change config/storj-bridge/config.json value activateSIP6 to true and false and test uploading as described at https://github.com/Storj/integration#testing-file-transfers
  • To test SIP6 further:
    • Comment lines for farmer.join in ./scripts/farmer.js in storjshare-daemon
    • Run ./script/stop_everything.sh
    • Clear the contacts collection from mongodb
    • And then ./scripts/start_everything and check that farmers join the bridges by looking at mongo
    • Test that uploads are working as expected

@braydonf braydonf changed the title [WIP] Implement SIP6 Implement SIP6 Sep 5, 2017
@braydonf braydonf merged commit f3a5937 into storj-archived:master Sep 5, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant