filecoin-project / filecoin-ffi

C and CGO bindings for Filecoin's Rust libraries
Other
94 stars 136 forks source link

feat: add option to not require a t_aux file to be present #434

Closed vmx closed 10 months ago

vmx commented 11 months ago

The FFI_USE_FIXED_ROWS_TO_DISCARD variable will make the proofs ignore the FIL_PROOFS_ROWS_TO_DISCARD setting, hence not relying on a t_aux file to be present. If enabled, then no t_aux file will be written by the proofs and a hard-coded value for FIL_PROOFS_ROWS_TO_DISCARD will be used.


I make this into draft mode as CI currently isn't passing due to https://github.com/filecoin-project/filecoin-ffi/issues/431.

rjan90 commented 10 months ago

As we now have confirmed that SupraSeal PC2 works with https://github.com/filecoin-project/lotus/pull/11185#issuecomment-1814960653, and this latest proofs-version I think we can merge this and bubble it up to Lotus.