Closed vmx closed 10 months ago
As requested on a side-channel, let's start with a PR with the refactorings first. That can be found at https://github.com/filecoin-project/rust-fil-proofs/pull/1719.
I've put this into draft state, as it'll be split into several PRs. Once those a merged, I'll rebase that one and mark it then again ready for review.
Ready for review. It's different from the precious version as all the refactors leading to this PR were already merged. From the commit message:
If the
fixed-rows-to-discard
feature is enabled, then TreeR has a fixed number of rows discarded (2). There is not option to change that value. This also means that we no longer need to persist theTemporaryAux
filet_aux
. This code path will neither read nor write such a file.
This PR introduces a new feature called
fixed-rows-to-discard
, when enabled, not_aux
files are written or read. It contains quite a lot of changes as some refactorings lead to lessStoreConfig
s and hence make it easier to reason about the whole change that it still does the correct thing.This PR supersedes https://github.com/filecoin-project/rust-fil-proofs/pull/1715.