Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: config: Update todo in UseSyntheticPoRep #11297

Merged
merged 3 commits into from
Oct 2, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions documentation/en/default-lotus-miner-config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -666,9 +666,9 @@
# env var: LOTUS_SEALING_TERMINATEBATCHWAIT
#TerminateBatchWait = "5m0s"

# UseSyntheticPoRep will reduce the amout of data held on disk in the WaitSeed phase to 32GiB
# at the cost of having to precompute the synthetic challenges.
# TODO: put estimated costs here
# UseSyntheticPoRep, when set to true, will reduce the amount of cache data held on disk after the completion of PreCommit 2 to 11GiB.
# This is achieved by precomputing "synthetic" challenges from CommR.
rjan90 marked this conversation as resolved.
Show resolved Hide resolved
# Note that this comes at a cost of additional computation to generate these synthetic challenges.
rjan90 marked this conversation as resolved.
Show resolved Hide resolved
#
# type: bool
# env var: LOTUS_SEALING_USESYNTHETICPOREP
Expand Down
6 changes: 3 additions & 3 deletions node/config/doc_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions node/config/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -430,9 +430,9 @@ type SealingConfig struct {

// todo TargetSectors - stop auto-pleding new sectors after this many sectors are sealed, default CC upgrade for deals sectors if above

// UseSyntheticPoRep will reduce the amout of data held on disk in the WaitSeed phase to 32GiB
// at the cost of having to precompute the synthetic challenges.
// TODO: put estimated costs here
// UseSyntheticPoRep, when set to true, will reduce the amount of cache data held on disk after the completion of PreCommit 2 to 11GiB.
// This is achieved by precomputing "synthetic" challenges from CommR.
// Note that this comes at a cost of additional computation to generate these synthetic challenges.
UseSyntheticPoRep bool
}

Expand Down