Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Change WPoStPartitionSectors to 2349 #332

Merged
merged 1 commit into from
Apr 28, 2020
Merged

Change WPoStPartitionSectors to 2349 #332

merged 1 commit into from
Apr 28, 2020

Conversation

anorth
Copy link
Member

@anorth anorth commented Apr 28, 2020

I think this change is required to match a number hardcoded in in rust-fil-proofs. Without this change, I'm pretty sure proofs will fail to validate since the wrong sector information will be passed.

The linked code is alarming in a few ways:

  • it suggests that this number is specific to sector size, which is big news to me and invalidates the implemented Window PoSt code for sectors other than 32GiB
  • is has a value of 2 for 512GiB sectors, which doesn't seem motivated by any technical reason but is pretty unworkable for practical networks.

cc @dignifiedquire @porcuquine

@anorth anorth requested a review from whyrusleeping April 28, 2020 05:30
@magik6k magik6k merged commit f028234 into master Apr 28, 2020
@magik6k magik6k deleted the anorth/2349 branch April 28, 2020 23:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants