Skip to content

Commit 7e64abb

Browse files
authored
feat: add fixed-rows-to-discard (#94)
With the `fixed-rows-to-discard` feature not t_aux file will be written and the proving works without one. This is needed for using the SupraSeal PC2 implementation in Lotus. This change needs the most recent proofs release, hence those dependencies are updated.
1 parent 4f5c91c commit 7e64abb

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Cargo.toml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ bincode = "1.1.2"
1515
blstrs = "0.7"
1616
lazy_static = "1.2"
1717
serde = "1.0.104"
18-
filecoin-proofs-v1 = { package = "filecoin-proofs", version = "~16.0.0", default-features = false }
19-
filecoin-hashers = { version = "~11.0.0", default-features = false, features = ["poseidon", "sha256"] }
20-
fr32 = { version = "~9.0.0", default-features = false }
21-
storage-proofs-core = { version = "~16.0.0", default-features = false }
18+
filecoin-proofs-v1 = { package = "filecoin-proofs", version = "~16.1.0", default-features = false }
19+
filecoin-hashers = { version = "~11.1.0", default-features = false, features = ["poseidon", "sha256"] }
20+
fr32 = { version = "~9.1.0", default-features = false }
21+
storage-proofs-core = { version = "~16.1.0", default-features = false }
2222

2323
[features]
2424
default = ["opencl", "cuda"]
@@ -27,3 +27,6 @@ cuda-supraseal = ["filecoin-proofs-v1/cuda-supraseal", "filecoin-hashers/cuda",
2727
opencl = ["filecoin-proofs-v1/opencl", "filecoin-hashers/opencl", "storage-proofs-core/opencl", "bellperson/opencl"]
2828
multicore-sdr = ["filecoin-proofs-v1/multicore-sdr"]
2929
big-tests = []
30+
# This feature enables a fixed number of discarded rows for TreeR. The `FIL_PROOFS_ROWS_TO_DISCARD`
31+
# setting is ignored, no `TemporaryAux` file will be written.
32+
fixed-rows-to-discard = ["filecoin-proofs-v1/fixed-rows-to-discard", "storage-proofs-core/fixed-rows-to-discard"]

0 commit comments

Comments
 (0)