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

add fauxrep2 sector sealing #7222

Closed
wants to merge 2 commits into from
Closed

add fauxrep2 sector sealing #7222

wants to merge 2 commits into from

Conversation

travisperson
Copy link
Contributor

@travisperson travisperson commented Aug 30, 2021

fauxrep2 is a faster way to generate sectors for network genesis setup by reusing data from a previously generated sector.

$ lotus-seed --sector-dir=/storage/seeding/fake-32GiB-sectors pre-seal --fake-sectors --sector-size 32GiB --network-version 12
$ lotus-seed --sector-dir=/storage/seeding/faux2-32GiB-sectors pre-seal --sector-size 32GiB --network-version 12 --pre-aux /storage/seeding/fake-32GiB-sectors/cache/s-t01000-0/p_aux --num-sectors 1024

This will generate 1024 sectors which can reuse the tree data from the previous 32GiB fake sector. File system shaping is required after this step (eg copying / linking the tree data files into each sector, generating zero block sectors, etc).

See filecoin-project/rust-fil-proofs#1218 for more information.

@SgtCoin SgtCoin self-assigned this Mar 15, 2022
@SgtCoin SgtCoin added dif/medium Prior development experience with lotus is likely helpful kind/enhancement Kind: Enhancement area/sealing docs-needed labels Mar 15, 2022
@SgtCoin SgtCoin marked this pull request as ready for review March 17, 2022 17:42
@SgtCoin SgtCoin requested a review from a team as a code owner March 17, 2022 17:42
@SgtCoin
Copy link

SgtCoin commented Mar 17, 2022

Spoke with @travisperson, code is ready for rebase and merge. Needs review from lotus-maintainers group member first.

@magik6k
Copy link
Contributor

magik6k commented Nov 22, 2023

There isn't really a need for this anymore, closing for now, but the code can stay around in the branch

@magik6k magik6k closed this Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/sealing dif/medium Prior development experience with lotus is likely helpful docs-needed kind/enhancement Kind: Enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants