metadata

package
v1.24.1 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: Apache-2.0, MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const SectorMetadataRefreshInterval = 191 * time.Minute

Variables

This section is empty.

Functions

This section is empty.

Types

type SectorMetadata

type SectorMetadata struct {
	// contains filtered or unexported fields
}

func (*SectorMetadata) Adder

func (s *SectorMetadata) Adder(taskFunc harmonytask.AddTaskFunc)

func (*SectorMetadata) CanAccept

func (*SectorMetadata) Do

func (s *SectorMetadata) Do(taskID harmonytask.TaskID, stillOwned func() bool) (done bool, err error)

func (*SectorMetadata) TypeDetails

func (s *SectorMetadata) TypeDetails() harmonytask.TaskTypeDetails

type SectorMetadataNodeAPI

type SectorMetadataNodeAPI interface {
	StateGetActor(ctx context.Context, actor address.Address, tsk types.TipSetKey) (*types.Actor, error)
	StateSectorPartition(ctx context.Context, maddr address.Address, sectorNumber abi.SectorNumber, tok types.TipSetKey) (*miner.SectorLocation, error)
}

Jump to

Keyboard shortcuts

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