2020-08-18 16:27:18 +00:00
|
|
|
package sealiface
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
// this has to be in a separate package to not make lotus API depend on filecoin-ffi
|
|
|
|
|
|
|
|
type Config struct {
|
|
|
|
// 0 = no limit
|
|
|
|
MaxWaitDealsSectors uint64
|
|
|
|
|
|
|
|
// includes failed, 0 = no limit
|
|
|
|
MaxSealingSectors uint64
|
|
|
|
|
2020-08-18 17:52:20 +00:00
|
|
|
// includes failed, 0 = no limit
|
|
|
|
MaxSealingSectorsForDeals uint64
|
|
|
|
|
2020-08-18 16:27:18 +00:00
|
|
|
WaitDealsDelay time.Duration
|
2021-01-26 16:50:31 +00:00
|
|
|
|
|
|
|
AlwaysKeepUnsealedCopy bool
|
2021-03-10 15:16:44 +00:00
|
|
|
|
|
|
|
AggregateCommits bool
|
|
|
|
MinCommitBatch int
|
|
|
|
MaxCommitBatch int
|
2020-08-18 16:27:18 +00:00
|
|
|
}
|