diff --git a/documentation/en/default-lotus-miner-config.toml b/documentation/en/default-lotus-miner-config.toml index 7b1d0e2e9..f7699e635 100644 --- a/documentation/en/default-lotus-miner-config.toml +++ b/documentation/en/default-lotus-miner-config.toml @@ -161,6 +161,21 @@ # env var: LOTUS_SUBSYSTEMS_SECTORINDEXAPIINFO #SectorIndexApiInfo = "" + # When window post is enabled, the miner will automatically submit window post proofs + # for all sectors that are eligible for window post + # IF WINDOW POST IS DISABLED, THE MINER WILL NOT SUBMIT WINDOW POST PROOFS + # THIS WILL RESULT IN FAULTS AND PENALTIES IF NO OTHER MECHANISM IS RUNNING + # TO SUBMIT WINDOW POST PROOFS. + # Note: This option is entirely disabling the window post scheduler, + # not just the builtin PoSt computation like Proving.DisableBuiltinWindowPoSt. + # This option will stop lotus-miner from performing any actions related + # to window post, including scheduling, submitting proofs, and recovering + # sectors. + # + # type: bool + # env var: LOTUS_SUBSYSTEMS_DISABLEWINDOWPOST + #DisableWindowPoSt = false + [Dealmaking] # When enabled, the miner can accept online deals diff --git a/node/config/doc_gen.go b/node/config/doc_gen.go index ce9d7f5b9..a65bd8746 100644 --- a/node/config/doc_gen.go +++ b/node/config/doc_gen.go @@ -962,6 +962,21 @@ This is useful to allow workers to bypass the lotus miner to access sector infor Comment: ``, }, + { + Name: "DisableWindowPoSt", + Type: "bool", + + Comment: `When window post is enabled, the miner will automatically submit window post proofs +for all sectors that are eligible for window post +IF WINDOW POST IS DISABLED, THE MINER WILL NOT SUBMIT WINDOW POST PROOFS +THIS WILL RESULT IN FAULTS AND PENALTIES IF NO OTHER MECHANISM IS RUNNING +TO SUBMIT WINDOW POST PROOFS. +Note: This option is entirely disabling the window post scheduler, +not just the builtin PoSt computation like Proving.DisableBuiltinWindowPoSt. +This option will stop lotus-miner from performing any actions related +to window post, including scheduling, submitting proofs, and recovering +sectors.`, + }, }, "ProviderSubsystemsConfig": { { diff --git a/node/config/types.go b/node/config/types.go index 591e970b5..e52549379 100644 --- a/node/config/types.go +++ b/node/config/types.go @@ -154,7 +154,12 @@ type MinerSubsystemConfig struct { // for all sectors that are eligible for window post // IF WINDOW POST IS DISABLED, THE MINER WILL NOT SUBMIT WINDOW POST PROOFS // THIS WILL RESULT IN FAULTS AND PENALTIES IF NO OTHER MECHANISM IS RUNNING - // TO SUBMIT WINDOW POST PROOFS + // TO SUBMIT WINDOW POST PROOFS. + // Note: This option is entirely disabling the window post scheduler, + // not just the builtin PoSt computation like Proving.DisableBuiltinWindowPoSt. + // This option will stop lotus-miner from performing any actions related + // to window post, including scheduling, submitting proofs, and recovering + // sectors. DisableWindowPoSt bool }