synthetic porep config

This commit is contained in:
Andrew Jackson (Ajax)
2023-07-13 15:47:59 +02:00
committed by Łukasz Magiera
parent b43665a3c1
commit f4fe4cae9c
4 changed files with 13 additions and 3 deletions
+5 -3
View File
@@ -1017,6 +1017,7 @@ func NewSetSealConfigFunc(r repo.LockedRepo) (dtypes.SetSealingConfigFunc, error
TerminateBatchMin: cfg.TerminateBatchMin,
TerminateBatchWait: config.Duration(cfg.TerminateBatchWait),
MaxSectorProveCommitsSubmittedPerEpoch: cfg.MaxSectorProveCommitsSubmittedPerEpoch,
SealWithSyntheticPoRep: cfg.SealWithSyntheticPoRep,
}
c.SetSealingConfig(newCfg)
})
@@ -1059,9 +1060,10 @@ func ToSealingConfig(dealmakingCfg config.DealmakingConfig, sealingCfg config.Se
BatchPreCommitAboveBaseFee: types.BigInt(sealingCfg.BatchPreCommitAboveBaseFee),
MaxSectorProveCommitsSubmittedPerEpoch: sealingCfg.MaxSectorProveCommitsSubmittedPerEpoch,
TerminateBatchMax: sealingCfg.TerminateBatchMax,
TerminateBatchMin: sealingCfg.TerminateBatchMin,
TerminateBatchWait: time.Duration(sealingCfg.TerminateBatchWait),
TerminateBatchMax: sealingCfg.TerminateBatchMax,
TerminateBatchMin: sealingCfg.TerminateBatchMin,
TerminateBatchWait: time.Duration(sealingCfg.TerminateBatchWait),
SealWithSyntheticPoRep: sealingCfg.SealWithSyntheticPoRep,
}
}