Skip to content

Commit

Permalink
Revert experimental-features
Browse files Browse the repository at this point in the history
  • Loading branch information
adria0 committed Oct 24, 2024
1 parent 012e5c7 commit 4c69810
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion book/src/user/experimental-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ In `privacy-scaling-explorations/halo2` fork we have implemented many experiment

## Commitment scheme abstraction

To support different kinds of polynomial commitment schemes, we've added a trait `CommitmentScheme` to allow create/verify proofs with different commitment scheme implementations, currently there are one available implementations in this fork:
To support different kinds of polynomial commitment schemes, we've added a trait `CommitmentScheme` to allow create/verify proofs with different commitment scheme implementations, currently there are 2 available implementations in this fork:

- [`IPACommitmentScheme`](https://privacy-scaling-explorations.github.io/halo2/halo2_proofs/poly/ipa/commitment/struct.IPACommitmentScheme.html)

The original implementation from `zcash/halo2` with the original multi-open strategy `{Prover,Verifier}IPA`

- [`KZGCommitmentScheme`](https://privacy-scaling-explorations.github.io/halo2/halo2_proofs/poly/kzg/commitment/struct.KZGCommitmentScheme.html)

Expand All @@ -16,6 +20,10 @@ To support different kinds of polynomial commitment schemes, we've added a trait
When using `create_proof` and `verify_proof`, we need to specify the commitment scheme and multi-open strategy like:

```rust
// Using IPA
create_proof<IPACommitmentScheme<_>, ProverIPA<_>, _, _, _, _>
verify_proof<IPACommitmentScheme<_>, ProverIPA<_>, _, _, _>

// Using KZG with GWC19 multi-open strategy
create_proof<KZGCommitmentScheme<_>, ProverGWC<_>, _, _, _, _>
verify_proof<KZGCommitmentScheme<_>, ProverGWC<_>, _, _, _>
Expand Down

0 comments on commit 4c69810

Please sign in to comment.