Lower default batch slack

This commit is contained in:
Łukasz Magiera 2021-05-18 21:04:47 +02:00
parent dd393b470f
commit 5112b9fe2b
2 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ const (
ChainFinality = miner5.ChainFinality ChainFinality = miner5.ChainFinality
SealRandomnessLookback = ChainFinality SealRandomnessLookback = ChainFinality
PaychSettleDelay = paych5.SettleDelay PaychSettleDelay = paych5.SettleDelay
MaxPreCommitRandomnessLookback = builtin5.EpochsInDay + SealRandomnessLookback MaxPreCommitRandomnessLookback = builtin5.EpochsInDay + SealRandomnessLookback // todo fix
) )
// SetSupportedProofTypes sets supported proof types, across all actor versions. // SetSupportedProofTypes sets supported proof types, across all actor versions.

View File

@ -258,13 +258,13 @@ func DefaultStorageMiner() *StorageMiner {
MinPreCommitBatch: 1, // we must have at least one proof to aggregate MinPreCommitBatch: 1, // we must have at least one proof to aggregate
MaxPreCommitBatch: 204, // todo max? MaxPreCommitBatch: 204, // todo max?
PreCommitBatchWait: Duration(24 * time.Hour), // this can be up to 6 days PreCommitBatchWait: Duration(24 * time.Hour), // this can be up to 6 days
PreCommitBatchSlack: Duration(8 * time.Hour), PreCommitBatchSlack: Duration(3 * time.Hour),
AggregateCommits: true, AggregateCommits: true,
MinCommitBatch: 1, // we must have at least one proof to aggregate MinCommitBatch: 1, // we must have at least one proof to aggregate
MaxCommitBatch: 204, // this is the maximum aggregation per FIP13 MaxCommitBatch: 204, // this is the maximum aggregation per FIP13
CommitBatchWait: Duration(24 * time.Hour), // this can be up to 6 days CommitBatchWait: Duration(24 * time.Hour), // this can be up to 6 days
CommitBatchSlack: Duration(8 * time.Hour), CommitBatchSlack: Duration(1 * time.Hour),
TerminateBatchMin: 1, TerminateBatchMin: 1,
TerminateBatchMax: 100, TerminateBatchMax: 100,