mirror of
https://github.com/codex-storage/nim-codex.git
synced 2025-01-31 15:16:12 +00:00
add circom params (temprorary)
This commit is contained in:
parent
e271875f6a
commit
4deeed64ef
@ -240,6 +240,36 @@ type
|
|||||||
defaultValue: noCmd
|
defaultValue: noCmd
|
||||||
command }: StartUpCmd
|
command }: StartUpCmd
|
||||||
of persistence:
|
of persistence:
|
||||||
|
circomR1cs* {.
|
||||||
|
desc: "The r1cs file for the storage circuit"
|
||||||
|
defaultValue: defaultDataDir() / "circuits" / "proof_main.r1cs"
|
||||||
|
name: "circom-r1cs"
|
||||||
|
.}: string
|
||||||
|
|
||||||
|
circomWasm* {.
|
||||||
|
desc: "The wasm file for the storage circuit"
|
||||||
|
defaultValue: defaultDataDir() / "circuits" / "proof_main.wasm"
|
||||||
|
name: "circom-wasm"
|
||||||
|
.}: string
|
||||||
|
|
||||||
|
circomZkey* {.
|
||||||
|
desc: "The zkey file for the storage circuit"
|
||||||
|
defaultValue: defaultDataDir() / "circuits" / "proof_main.zkey"
|
||||||
|
name: "circom-zkey"
|
||||||
|
.}: string
|
||||||
|
|
||||||
|
circomNoZkey* {.
|
||||||
|
desc: "Ignore the zkey file - use only for testing!"
|
||||||
|
defaultValue: false
|
||||||
|
name: "circom-no-zkey"
|
||||||
|
.}: bool
|
||||||
|
|
||||||
|
numProofSamples* {.
|
||||||
|
desc: "Number of samples to prove"
|
||||||
|
defaultValue: DefaultSamplesNum
|
||||||
|
defaultValueDesc: $DefaultSamplesNum
|
||||||
|
name: "proof-samples" }: int
|
||||||
|
|
||||||
ethProvider* {.
|
ethProvider* {.
|
||||||
desc: "The URL of the JSON-RPC API of the Ethereum node"
|
desc: "The URL of the JSON-RPC API of the Ethereum node"
|
||||||
defaultValue: "ws://localhost:8545"
|
defaultValue: "ws://localhost:8545"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user