v1.27.0-a #10
@ -25,6 +25,8 @@
|
|||||||
# This task handles encoding of unsealed data into last sdr layer and building
|
# This task handles encoding of unsealed data into last sdr layer and building
|
||||||
# of TreeR, TreeC and TreeD.
|
# 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.
|
||||||
#
|
#
|
||||||
# type: bool
|
# type: bool
|
||||||
#EnableSealSDRTrees = false
|
#EnableSealSDRTrees = false
|
||||||
@ -32,6 +34,9 @@
|
|||||||
# type: int
|
# type: int
|
||||||
#SealSDRTreesMaxTasks = 0
|
#SealSDRTreesMaxTasks = 0
|
||||||
|
|
||||||
|
# type: int
|
||||||
|
#FinalizeMaxTasks = 0
|
||||||
|
|
||||||
# EnableSendPrecommitMsg enables the sending of precommit messages to the chain
|
# EnableSendPrecommitMsg enables the sending of precommit messages to the chain
|
||||||
# from this lotus-provider instance.
|
# from this lotus-provider instance.
|
||||||
#
|
#
|
||||||
@ -53,6 +58,16 @@
|
|||||||
# type: bool
|
# type: bool
|
||||||
#EnableSendCommitMsg = false
|
#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
|
# type: bool
|
||||||
#EnableWebGui = false
|
#EnableWebGui = false
|
||||||
|
|
||||||
|
@ -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.
|
Comment: `EnableSealSDRTrees enables the SDR pipeline tree-building task to run.
|
||||||
This task handles encoding of unsealed data into last sdr layer and building
|
This task handles encoding of unsealed data into last sdr layer and building
|
||||||
of TreeR, TreeC and TreeD.
|
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",
|
Name: "SealSDRTreesMaxTasks",
|
||||||
@ -1036,6 +1038,12 @@ In lotus-miner this was run as part of PreCommit2 (TreeD was run in PreCommit1).
|
|||||||
|
|
||||||
Comment: ``,
|
Comment: ``,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
Name: "FinalizeMaxTasks",
|
||||||
|
Type: "int",
|
||||||
|
|
||||||
|
Comment: ``,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
Name: "EnableSendPrecommitMsg",
|
Name: "EnableSendPrecommitMsg",
|
||||||
Type: "bool",
|
Type: "bool",
|
||||||
@ -1063,6 +1071,20 @@ In lotus-miner this was Commit1 / Commit2`,
|
|||||||
Comment: `EnableSendCommitMsg enables the sending of commit messages to the chain
|
Comment: `EnableSendCommitMsg enables the sending of commit messages to the chain
|
||||||
from this lotus-provider instance.`,
|
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",
|
Name: "EnableWebGui",
|
||||||
Type: "bool",
|
Type: "bool",
|
||||||
|
@ -2,13 +2,16 @@ package lpseal
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
|
"golang.org/x/xerrors"
|
||||||
|
|
||||||
"github.com/filecoin-project/go-state-types/abi"
|
"github.com/filecoin-project/go-state-types/abi"
|
||||||
|
|
||||||
"github.com/filecoin-project/lotus/lib/harmony/harmonydb"
|
"github.com/filecoin-project/lotus/lib/harmony/harmonydb"
|
||||||
"github.com/filecoin-project/lotus/lib/harmony/harmonytask"
|
"github.com/filecoin-project/lotus/lib/harmony/harmonytask"
|
||||||
"github.com/filecoin-project/lotus/lib/harmony/resources"
|
"github.com/filecoin-project/lotus/lib/harmony/resources"
|
||||||
"github.com/filecoin-project/lotus/provider/lpffi"
|
"github.com/filecoin-project/lotus/provider/lpffi"
|
||||||
"github.com/filecoin-project/lotus/storage/sealer/storiface"
|
"github.com/filecoin-project/lotus/storage/sealer/storiface"
|
||||||
"golang.org/x/xerrors"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type FinalizeTask struct {
|
type FinalizeTask struct {
|
||||||
|
@ -2,13 +2,16 @@ package lpseal
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
|
"golang.org/x/xerrors"
|
||||||
|
|
||||||
"github.com/filecoin-project/go-state-types/abi"
|
"github.com/filecoin-project/go-state-types/abi"
|
||||||
|
|
||||||
"github.com/filecoin-project/lotus/lib/harmony/harmonydb"
|
"github.com/filecoin-project/lotus/lib/harmony/harmonydb"
|
||||||
"github.com/filecoin-project/lotus/lib/harmony/harmonytask"
|
"github.com/filecoin-project/lotus/lib/harmony/harmonytask"
|
||||||
"github.com/filecoin-project/lotus/lib/harmony/resources"
|
"github.com/filecoin-project/lotus/lib/harmony/resources"
|
||||||
"github.com/filecoin-project/lotus/provider/lpffi"
|
"github.com/filecoin-project/lotus/provider/lpffi"
|
||||||
"github.com/filecoin-project/lotus/storage/sealer/storiface"
|
"github.com/filecoin-project/lotus/storage/sealer/storiface"
|
||||||
"golang.org/x/xerrors"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type MoveStorageTask struct {
|
type MoveStorageTask struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user