sector import: Remote Commit2

This commit is contained in:
Łukasz Magiera
2022-09-19 12:13:06 +02:00
parent 142894895d
commit c17ab761c5
14 changed files with 162 additions and 20 deletions
+10
View File
@@ -576,6 +576,8 @@ type RemoteSectorMeta struct {
// todo better doc
RemoteCommit1Endpoint string
RemoteCommit2Endpoint string
// todo OnDone / OnStateChange
}
@@ -587,3 +589,11 @@ type RemoteCommit1Params struct {
ProofType abi.RegisteredSealProof
}
type RemoteCommit2Params struct {
Sector abi.SectorID
ProofType abi.RegisteredSealProof
// todo spec better
Commit1Out storiface.Commit1Out
}