package tezos-plonk

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type verifier_common_pp = {
  1. n : int;
  2. generator : Scalar.t;
  3. pp_public_parameters : PP.verifier_public_parameters;
  4. query : PP.verifier_query;
  5. common_keys : string list;
}
val verifier_common_pp_encoding : verifier_common_pp Data_encoding.t
type verifier_circuit_pp = {
  1. gates : unit SMap.t;
  2. nb_wires : int;
  3. alpha : Scalar.t;
  4. ultra : bool;
}
val verifier_circuit_pp_encoding : verifier_circuit_pp Data_encoding.t
val build_query : verifier_common_pp -> Perm.PP.PC.Scalar.t -> Perm.PP.PC.Scalar.t -> Plook.PP.PC.Scalar.t -> Plook.PP.PC.Scalar.t -> (verifier_circuit_pp * Gates.Scalar.t array list * int) SMap.t -> PP.verifier_query * string list
val verify_circuits : ((verifier_common_pp * verifier_circuit_pp SMap.t) * bytes) -> public_inputs:Gates.Scalar.t array list SMap.t -> proof -> bool * PP.transcript
OCaml

Innovation. Community. Security.