mirror of
https://github.com/codex-storage/nim-codex.git
synced 2025-01-19 01:12:34 +00:00
thread number
This commit is contained in:
parent
935133df8c
commit
7c954a7374
@ -67,7 +67,7 @@ suite "Test Prover":
|
|||||||
r1cs = "tests/circuits/fixtures/proof_main.r1cs"
|
r1cs = "tests/circuits/fixtures/proof_main.r1cs"
|
||||||
wasm = "tests/circuits/fixtures/proof_main.wasm"
|
wasm = "tests/circuits/fixtures/proof_main.wasm"
|
||||||
|
|
||||||
taskpool = Taskpool.new(num_threads = 2)
|
taskpool = Taskpool.new(num_threads = 6)
|
||||||
params = CircomCompatParams.init(r1cs, wasm)
|
params = CircomCompatParams.init(r1cs, wasm)
|
||||||
circomBackend = AsyncCircomCompat.init(params, taskpool)
|
circomBackend = AsyncCircomCompat.init(params, taskpool)
|
||||||
prover = Prover.new(store, circomBackend, samples)
|
prover = Prover.new(store, circomBackend, samples)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user