Skip to content

Commit

Permalink
update docs on FK20 naming (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevaundray authored Aug 13, 2024
1 parent 104f91b commit 4be82be
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cryptography/kzg_multi_open/src/fk20/verifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ impl FK20Verifier {
/// This corresponds to the guarantee that every opening should have an `input_point` and an `output_point`
/// with a corresponding proof attesting to `f(input_point) = output_point` and a commitment to the polynomial `f`.
///
/// Note: Although this method is on the `FK20Verifier` structure, it is possible to verify methods that are not
/// created by the `FK20Prover`. FK20Prover generates multi-proofs efficiently using the FK20 strategy, but we
/// could just as well generate those proofs using the naive strategy that we test FK20 against. We leave this
/// naming as is since it conveys a meaningful difference between the other internal provers which do not use FK20.
/// On the API level, we however export this as Verifier.
///
/// The matching function in the spec is: https://github.com/ethereum/consensus-specs/blob/b9e7b031b5f2c18d76143007ea779a32b5505155/specs/_features/eip7594/polynomial-commitments-sampling.md#verify_cell_kzg_proof_batch_impl
pub fn verify_multi_opening(
&self,
Expand Down

0 comments on commit 4be82be

Please sign in to comment.