v1.27.0-a #10

Closed
jonathanface wants to merge 473 commits from v1.27.0-a into master
4 changed files with 46 additions and 3 deletions
Showing only changes of commit eba45ca84e - Show all commits

View File

@ -25,6 +25,8 @@
# 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.
#
# type: bool
#EnableSealSDRTrees = false
@ -32,6 +34,9 @@
# type: int
#SealSDRTreesMaxTasks = 0
# type: int
#FinalizeMaxTasks = 0
# EnableSendPrecommitMsg enables the sending of precommit messages to the chain
# from this lotus-provider instance.
#
@ -53,6 +58,16 @@
# type: bool
#EnableSendCommitMsg = false
# 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.
#
# type: bool
#EnableMoveStorage = false
# type: int
#MoveStorageMaxTasks = 0
# type: bool
#EnableWebGui = false

View File

@ -1028,7 +1028,9 @@ In lotus-miner this was run as part of PreCommit1.`,
Comment: `EnableSealSDRTrees enables the SDR pipeline tree-building task to run.
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).`,
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.`,
},
{
Name: "SealSDRTreesMaxTasks",
@ -1036,6 +1038,12 @@ In lotus-miner this was run as part of PreCommit2 (TreeD was run in PreCommit1).
Comment: ``,
},
{
Name: "FinalizeMaxTasks",
Type: "int",
Comment: ``,
},
{
Name: "EnableSendPrecommitMsg",
Type: "bool",
@ -1063,6 +1071,20 @@ In lotus-miner this was Commit1 / Commit2`,
Comment: `EnableSendCommitMsg enables the sending of commit messages to the chain
from this lotus-provider instance.`,
},
{
Name: "EnableMoveStorage",
Type: "bool",
Comment: `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.`,
},
{
Name: "MoveStorageMaxTasks",
Type: "int",
Comment: ``,
},
{
Name: "EnableWebGui",
Type: "bool",

View File

@ -2,13 +2,16 @@ package lpseal
import (
"context"
"golang.org/x/xerrors"
"github.com/filecoin-project/go-state-types/abi"
"github.com/filecoin-project/lotus/lib/harmony/harmonydb"
"github.com/filecoin-project/lotus/lib/harmony/harmonytask"
"github.com/filecoin-project/lotus/lib/harmony/resources"
"github.com/filecoin-project/lotus/provider/lpffi"
"github.com/filecoin-project/lotus/storage/sealer/storiface"
"golang.org/x/xerrors"
)
type FinalizeTask struct {

View File

@ -2,13 +2,16 @@ package lpseal
import (
"context"
"golang.org/x/xerrors"
"github.com/filecoin-project/go-state-types/abi"
"github.com/filecoin-project/lotus/lib/harmony/harmonydb"
"github.com/filecoin-project/lotus/lib/harmony/harmonytask"
"github.com/filecoin-project/lotus/lib/harmony/resources"
"github.com/filecoin-project/lotus/provider/lpffi"
"github.com/filecoin-project/lotus/storage/sealer/storiface"
"golang.org/x/xerrors"
)
type MoveStorageTask struct {