package octez-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type prover = {
  1. srs1 : Plonk.Bls.Srs_g1.t;
  2. encoding_1 : Bls.G2.t;
  3. encoding_x : Bls.G2.t;
}
val prover_t : prover Repr.t
val to_bytes : int -> prover -> bytes
type verifier = {
  1. encoding_1 : Bls.G2.t;
  2. encoding_x : Bls.G2.t;
}
val verifier_t : verifier Repr.t
type setup_params = int
val setup_verifier : Plonk.Bls.Srs_g2.t -> verifier
val setup_prover : (Plonk.Bls.Srs_g1.t * Plonk.Bls.Srs_g2.t) -> prover
val setup : 'a -> ((Plonk.Bls.Srs_g1.t * Plonk.Bls.Srs_g2.t) * 'b) -> prover * verifier
OCaml

Innovation. Community. Security.