add Dealmaking.StartEpochSealingBuffer config

This commit is contained in:
Anton Evangelatov
2021-10-01 17:44:15 +02:00
committed by Łukasz Magiera
parent c2fa54ca9c
commit 809289f5ef
9 changed files with 45 additions and 15 deletions
+2
View File
@@ -148,6 +148,8 @@ func DefaultStorageMiner() *StorageMiner {
SimultaneousTransfers: DefaultSimultaneousTransfers,
StartEpochSealingBuffer: 480, // 480 epochs buffer == 4 hours from adding deal to sector to sector being sealed
RetrievalPricing: &RetrievalPricing{
Strategy: RetrievalPricingDefaultMode,
Default: &RetrievalPricingDefault{
+6
View File
@@ -265,6 +265,12 @@ passed to the sealing node by the markets service. 0 is unlimited.`,
Comment: `The maximum number of parallel online data transfers (storage+retrieval)`,
},
{
Name: "StartEpochSealingBuffer",
Type: "uint64",
Comment: `Minimum start epoch buffer to give time for sealing of sector with deal.`,
},
{
Name: "Filter",
Type: "string",
+2
View File
@@ -131,6 +131,8 @@ type DealmakingConfig struct {
MaxStagingDealsBytes int64
// The maximum number of parallel online data transfers (storage+retrieval)
SimultaneousTransfers uint64
// Minimum start epoch buffer to give time for sealing of sector with deal.
StartEpochSealingBuffer uint64
// A command used for fine-grained evaluation of storage deals
// see https://docs.filecoin.io/mine/lotus/miner-configuration/#using-filters-for-fine-grained-storage-and-retrieval-deal-acceptance for more details