sealtasks

package
v1.29.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2024 License: Apache-2.0, MIT Imports: 5 Imported by: 11

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) Less

func (a TaskType) Less(b TaskType) bool

func (TaskType) MuchLess

func (a TaskType) MuchLess(b TaskType) (bool, bool)

func (TaskType) SealTask

func (a TaskType) SealTask(spt abi.RegisteredSealProof) SealTaskType

func (TaskType) SectorSized added in v1.17.2

func (a TaskType) SectorSized() bool

SectorSized returns true if the task operates on a specific sector size

func (TaskType) Short

func (a TaskType) Short() string

func (TaskType) WorkerType

func (a TaskType) WorkerType() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL