lpseal: MoveStorage

This commit is contained in:
Łukasz Magiera
2024-02-16 21:21:38 +01:00
parent 4649d3b8d0
commit d820e76beb
7 changed files with 194 additions and 2 deletions
+8
View File
@@ -108,6 +108,8 @@ type ProviderSubsystemsConfig struct {
// This task handles encoding of unsealed data into last sdr layer and building
// of TreeR, TreeC and TreeD.
// In lotus-miner this was run as part of PreCommit2 (TreeD was run in PreCommit1).
// Note that nodes with SDRTrees enabled will also answer to Finalize tasks,
// which just remove unneeded tree data after PoRep is computed.
EnableSealSDRTrees bool
SealSDRTreesMaxTasks int
FinalizeMaxTasks int
@@ -125,6 +127,12 @@ type ProviderSubsystemsConfig struct {
// from this lotus-provider instance.
EnableSendCommitMsg bool
// EnableMoveStorage enables the move-into-long-term-storage task to run
// on this lotus-provider instance. This tasks should only be enabled on
// nodes with long-term storage.
EnableMoveStorage bool
MoveStorageMaxTasks int
EnableWebGui bool
// The address that should listen for Web GUI requests.
GuiAddress string