Skip to content

GOATNetwork/bitvm2-gc

Repository files navigation

bitvm2-gc

Commit Reference

The garbled-snark-verifier is modified from garbled-snark-verifier:5a2cd4.

To switch between hash functions in the guest program, modify the default feature in verifiable-circuit/Cargo.toml:

Blake3

default = ["blake3"]

Poseidon2

default = ["poseidon2"]

SHA2 Precompile

default = ["sha2"]

Then run:

cd verifiable-circuit-host
cargo run -r

Benchmarks

Server configuration: 32 core, 480G RAM

Program Gates Cycles Peak memory Garbling(s) Spliting(s) Single Execution(s)
deserialize_compressed_g2_circuit and variants: 122185357, xor variants: 350864003, not: 550724, total:473600084 4268330910 * 68 51G 33s 480M/(IOPS) = 188 178
groth16_verifier_circuit and variants: 2718558275, xor variants: 7617087185, not: 62381441, total: 10398026901

Proving efficiency: 300k Poseidon2 hashes/s on a single RTX 4090 card.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages