This commit is contained in:
Łukasz Magiera 2021-05-25 16:26:59 +02:00
parent d90ab2b81f
commit 04658e1cae
2 changed files with 7 additions and 17 deletions

View File

@ -522,11 +522,6 @@ func (m mockVerifProver) VerifyAggregateSeals(aggregate proof5.AggregateSealVeri
} }
} }
var sis []abi.SectorNumber
for _, info := range aggregate.Infos {
sis = append(sis, info.Number)
}
return bytes.Equal(aggregate.Proof, out), nil return bytes.Equal(aggregate.Proof, out), nil
} }
@ -538,11 +533,6 @@ func (m mockVerifProver) AggregateSealProofs(aggregateInfo proof5.AggregateSealV
} }
} }
var sis []abi.SectorNumber
for _, info := range aggregateInfo.Infos {
sis = append(sis, info.Number)
}
return out, nil return out, nil
} }

View File

@ -85,22 +85,22 @@ type SealingConfig struct {
AlwaysKeepUnsealedCopy bool AlwaysKeepUnsealedCopy bool
// enable / disable precommit batching (takes effect after nv13) // enable / disable precommit batching (takes effect after nv13)
BatchPreCommits bool BatchPreCommits bool
// maximum precommit batch size - batches will be sent immediately above this size // maximum precommit batch size - batches will be sent immediately above this size
MaxPreCommitBatch int MaxPreCommitBatch int
MinPreCommitBatch int MinPreCommitBatch int
// how long to wait before submitting a batch after crossing the minimum batch size // how long to wait before submitting a batch after crossing the minimum batch size
PreCommitBatchWait Duration PreCommitBatchWait Duration
// time buffer for forceful batch submission before sectors in batch would start expiring // time buffer for forceful batch submission before sectors in batch would start expiring
PreCommitBatchSlack Duration PreCommitBatchSlack Duration
// enable / disable commit aggregation (takes effect after nv13) // enable / disable commit aggregation (takes effect after nv13)
AggregateCommits bool AggregateCommits bool
// maximum batched commit size - batches will be sent immediately above this size // maximum batched commit size - batches will be sent immediately above this size
MinCommitBatch int MinCommitBatch int
MaxCommitBatch int MaxCommitBatch int
// how long to wait before submitting a batch after crossing the minimum batch size // how long to wait before submitting a batch after crossing the minimum batch size
CommitBatchWait Duration CommitBatchWait Duration
// time buffer for forceful batch submission before sectors in batch would start expiring // time buffer for forceful batch submission before sectors in batch would start expiring
CommitBatchSlack Duration CommitBatchSlack Duration