Documentation ¶
Index ¶
Constants ¶
View Source
const ( WorkerSealing = "Sealing" WorkerWinningPoSt = "WinPost" WorkerWindowPoSt = "WdPoSt" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SealTaskType ¶
type SealTaskType struct { TaskType abi.RegisteredSealProof }
func SttFromString ¶
func SttFromString(s string) (SealTaskType, error)
func (SealTaskType) String ¶
func (a SealTaskType) String() string
type TaskType ¶
type TaskType string
const ( TTDataCid TaskType = "seal/v0/datacid" TTAddPiece TaskType = "seal/v0/addpiece" TTPreCommit1 TaskType = "seal/v0/precommit/1" TTPreCommit2 TaskType = "seal/v0/precommit/2" TTCommit1 TaskType = "seal/v0/commit/1" TTCommit2 TaskType = "seal/v0/commit/2" TTFinalize TaskType = "seal/v0/finalize" TTFinalizeUnsealed TaskType = "seal/v0/finalizeunsealed" TTFetch TaskType = "seal/v0/fetch" TTUnseal TaskType = "seal/v0/unseal" TTReplicaUpdate TaskType = "seal/v0/replicaupdate" TTProveReplicaUpdate1 TaskType = "seal/v0/provereplicaupdate/1" TTProveReplicaUpdate2 TaskType = "seal/v0/provereplicaupdate/2" TTRegenSectorKey TaskType = "seal/v0/regensectorkey" TTFinalizeReplicaUpdate TaskType = "seal/v0/finalize/replicaupdate" TTDownloadSector TaskType = "seal/v0/download/sector" TTGenerateWindowPoSt TaskType = "post/v0/windowproof" TTGenerateWinningPoSt TaskType = "post/v0/winningproof" TTNoop TaskType = "" )
func (TaskType) SealTask ¶
func (a TaskType) SealTask(spt abi.RegisteredSealProof) SealTaskType
func (TaskType) SectorSized ¶ added in v1.17.2
SectorSized returns true if the task operates on a specific sector size
func (TaskType) WorkerType ¶
Click to show internal directories.
Click to hide internal directories.