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

A miner selects a sector size when pledging #2530

Closed
laser opened this issue Apr 9, 2019 · 0 comments · Fixed by #2874

Comments

@laser
Copy link
Contributor

commented Apr 9, 2019

Description

A miner should select a sector size when pledging, i.e. when miner create runs. To start with, we should support Test and TwoFiftySixMiB. The choice of sector size should be constrained to some enumeration of values in Go code.

Acceptance criteria

[ ] - update miner create command to require a new sector size-argument
[ ] - rust-fil-proofs uses selected sector size when packing pieces into sectors and sealing
[ ] - go-filecoin actors use selected sector size when verifying seal and PoSt proofs
[ ] - modify gengen setup.json to include miner's sector size
[ ] - make sure that 1KiB sectors are used when in test proofs mode and prevent 1KiB sectors from being used when not in test proofs mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.