Skip to content

Commit 08f24d4

Browse files
committed
update param and time limit
1 parent eb17ae8 commit 08f24d4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

zprice/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ where
2222
R: CryptoRng + RngCore,
2323
```
2424

25+
Note that due to the resource limitation, and also to prevent accidental DoS, the benchmark will be terminate once a TIME_LIMIT is hit. This limit is tentatively set to 12 hours, and subject to change.
26+
2527
Apparently, you could start with reading our current non-GPU-accelerated version of the prover implementation at `PlonkKzgSnark::prove()` in file `jellyfish/plonk/src/proof_system/snark.rs`,
2628
then optimizing it and building a Spark-like library in Rust to distribute and parallelize computation across multiple GPUs.
2729

zprice/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ use jf_primitives::{
2525
};
2626

2727
/// Merkle Tree height
28-
pub const TREE_HEIGHT: u8 = 5;
28+
pub const TREE_HEIGHT: u8 = 32;
2929
/// Number of memberships proofs to be verified in the circuit
30-
pub const NUM_MEMBERSHIP_PROOFS: usize = 10;
30+
pub const NUM_MEMBERSHIP_PROOFS: usize = 20_000;
3131

3232
/// generate a gigantic circuit (with random, satisfiable wire assignments)
3333
///

0 commit comments

Comments
 (0)