correctly handle commit batch timer

This commit is contained in:
vyzo
2021-05-18 14:30:47 +03:00
parent 357c0868b7
commit 74bad49068
4 changed files with 90 additions and 8 deletions
+4 -3
View File
@@ -246,9 +246,10 @@ func DefaultStorageMiner() *StorageMiner {
MinCommitBatch: 1, // we must have at least one proof to aggregate
MaxCommitBatch: 204, // this is the maximum aggregation per FIP13
CommitBatchWait: time.Day, // this can be up to 6 days
TerminateBatchMin: 1, // same as above
TerminateBatchMax: 204, // same as above
TerminateBatchWait: time.Day, // this can be up to 6 days
CommitBatchSlack: 8 * time.Hour,
TerminateBatchMin: 1,
TerminateBatchMax: 100,
TerminateBatchWait: 5 * time.Minute,
},
Storage: sectorstorage.SealerConfig{