sector import: Remote Commit2
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user