package tezos-plonk

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type prover = {
  1. srs1 : Polynomial.Srs_g1.t;
  2. encoding_1 : G2.t;
  3. encoding_x : G2.t;
  4. d : int;
}
val to_bytes : prover -> bytes
type verifier = {
  1. encoding_1 : G2.t;
  2. encoding_x : G2.t;
}
val verifier_encoding : verifier Data_encoding.t
type setup_params = int * int
val get_d : prover -> int
val setup_verifier : Polynomial.Srs_g2.t -> verifier
val setup_prover : int -> (Polynomial.Srs_g1.t * Polynomial.Srs_g2.t) -> prover
val setup : (int * 'a) -> ((Polynomial.Srs_g1.t * Polynomial.Srs_g2.t) * 'b) -> prover * verifier
OCaml

Innovation. Community. Security.