proper config for termination batching and commit wait

This commit is contained in:
vyzo
2021-05-18 12:20:19 +03:00
parent febf7cf28f
commit 357c0868b7
5 changed files with 39 additions and 32 deletions
+7 -3
View File
@@ -242,9 +242,13 @@ func DefaultStorageMiner() *StorageMiner {
WaitDealsDelay: Duration(time.Hour * 6),
AlwaysKeepUnsealedCopy: true,
AggregateCommits: true,
MinCommitBatch: 1, // we must have at least one proof to aggregate
MaxCommitBatch: 204, // this is the maximum aggregation per FIP13
AggregateCommits: true,
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
},
Storage: sectorstorage.SealerConfig{