package octez-plonk

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

Signature

include Plonk.Polynomial_commitment.S
val query_t : query Repr.t
val answer_t : answer Repr.t
type proof
val proof_t : proof Repr.t
type transcript = Stdlib.Bytes.t
val evaluate : secret -> query -> answer
val prove : Public_parameters.prover -> transcript -> secret list -> Commitment.prover_aux list -> query list -> answer list -> proof * transcript
val verify : Public_parameters.verifier -> transcript -> Commitment.t list -> query list -> answer list -> proof -> bool * transcript
type prover_aux = {
  1. r : Plonk.Bls.Scalar.t;
  2. s_list : Plonk.Bls.Scalar.t Plonk.SMap.t list;
}

Auxiliary information needed by the prover for the meta-verification in aPlonK

val verify_super_aggregation : Public_parameters.verifier -> transcript -> Commitment.t list -> query list -> Plonk.Bls.Scalar.t Plonk.SMap.t list -> proof -> bool * Plonk.Bls.Scalar.t * transcript
OCaml

Innovation. Community. Security.