Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a replica & calculate commR #360

Closed
Tracked by #347
th7nder opened this issue Sep 10, 2024 · 0 comments · Fixed by #470
Closed
Tracked by #347

Create a replica & calculate commR #360

th7nder opened this issue Sep 10, 2024 · 0 comments · Fixed by #470
Assignees
Labels
node-storage-provider Related to the storage provider node.
Milestone

Comments

@th7nder
Copy link
Contributor

th7nder commented Sep 10, 2024

After the deals have been negotiated by publish_storage_deals, Storage Provider needs to pre-commit to the data, before the deal starts.

To do so:

  • file first needs to be transferred to the Storage Provider Node
  • then they need to Create a Replica and Calculate CommR out of it

Resources:

My opinion on how to proceed:

  • Expose this functionality as a CLI instead of implementing processing state machine in storage provider for now?
  • Then transition to the storage provider, but keep that in mind when implementing

https://github.com/filecoin-project/lotus/blob/471819bf1ef8a4d5c7c0476a38ce9f5e23c59bfc/storage/pipeline/states_sealing.go#L66

https://github.com/filecoin-project/lotus/tree/471819bf1ef8a4d5c7c0476a38ce9f5e23c59bfc/storage/sealer

@th7nder th7nder added the node-storage-provider Related to the storage provider node. label Sep 10, 2024
@th7nder th7nder added this to the Phase 2 milestone Sep 10, 2024
@th7nder th7nder changed the title Create a Replica & Calculate CommR Create a replica & calculate commR Sep 10, 2024
@th7nder th7nder mentioned this issue Sep 10, 2024
38 tasks
@jmg-duarte jmg-duarte self-assigned this Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
node-storage-provider Related to the storage provider node.
Projects
None yet
2 participants