Set default for MaxSectorProveCommitsSubmittedPerEpoch

This commit is contained in:
Shrenuj Bansal 2023-04-21 16:35:31 -04:00
parent b44ae9a7d8
commit d39fbb277f
2 changed files with 5 additions and 4 deletions

View File

@ -665,7 +665,7 @@
#
# type: uint64
# env var: LOTUS_SEALING_MAXSECTORPROVECOMMITSSUBMITTEDPEREPOCH
#MaxSectorProveCommitsSubmittedPerEpoch = 0
#MaxSectorProveCommitsSubmittedPerEpoch = 20
# type: uint64
# env var: LOTUS_SEALING_TERMINATEBATCHMAX

View File

@ -151,9 +151,10 @@ func DefaultStorageMiner() *StorageMiner {
BatchPreCommitAboveBaseFee: types.FIL(types.BigMul(types.PicoFil, types.NewInt(320))), // 0.32 nFIL
AggregateAboveBaseFee: types.FIL(types.BigMul(types.PicoFil, types.NewInt(320))), // 0.32 nFIL
TerminateBatchMin: 1,
TerminateBatchMax: 100,
TerminateBatchWait: Duration(5 * time.Minute),
TerminateBatchMin: 1,
TerminateBatchMax: 100,
TerminateBatchWait: Duration(5 * time.Minute),
MaxSectorProveCommitsSubmittedPerEpoch: 20,
},
Proving: ProvingConfig{