sealiface

package
v1.11.3-rc2 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 License: Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommitBatchRes added in v1.10.0

type CommitBatchRes struct {
	Sectors []abi.SectorNumber

	FailedSectors map[abi.SectorNumber]string

	Msg   *cid.Cid
	Error string // if set, means that all sectors are failed, implies Msg==nil
}

type Config

type Config struct {
	// 0 = no limit
	MaxWaitDealsSectors uint64

	// includes failed, 0 = no limit
	MaxSealingSectors uint64

	// includes failed, 0 = no limit
	MaxSealingSectorsForDeals uint64

	WaitDealsDelay time.Duration

	CommittedCapacitySectorLifetime time.Duration

	AlwaysKeepUnsealedCopy bool

	FinalizeEarly bool

	CollateralFromMinerBalance bool
	AvailableBalanceBuffer     abi.TokenAmount
	DisableCollateralFallback  bool

	BatchPreCommits     bool
	MaxPreCommitBatch   int
	PreCommitBatchWait  time.Duration
	PreCommitBatchSlack time.Duration

	AggregateCommits bool
	MinCommitBatch   int
	MaxCommitBatch   int
	CommitBatchWait  time.Duration
	CommitBatchSlack time.Duration

	AggregateAboveBaseFee abi.TokenAmount

	TerminateBatchMax  uint64
	TerminateBatchMin  uint64
	TerminateBatchWait time.Duration
}

type PreCommitBatchRes added in v1.10.0

type PreCommitBatchRes struct {
	Sectors []abi.SectorNumber

	Msg   *cid.Cid
	Error string // if set, means that all sectors are failed, implies Msg==nil
}

Jump to

Keyboard shortcuts

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