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

Update Interface for snap deals #17

Merged
merged 1 commit into from
Nov 10, 2021
Merged

Update Interface for snap deals #17

merged 1 commit into from
Nov 10, 2021

Conversation

ZenGround0
Copy link
Contributor

No description provided.

@ZenGround0 ZenGround0 requested a review from magik6k November 4, 2021 18:26
@@ -62,4 +64,11 @@ type Sealer interface {

// Removes all data associated with the specified sector
Remove(ctx context.Context, sector SectorRef) error

// Generate snap deals replica update and return proof
ReplicaUpdate(ctx context.Context, sector SectorRef, pieces []abi.PieceInfo) (ReplicaUpdateProof, error)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is all I think we'll need. Not sure about the names or need for new proof type.

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.

2 participants