package octez-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module BasePC : sig ... end
val query_t : query Repr.t
val answer_t : answer Repr.t
type proof = PP_Pack.PC.proof
val proof_t : proof Repr.t
type transcript = Stdlib.Bytes.t
module Commitment : sig ... end
module Public_parameters : sig ... end
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
val merge_answers : answer list -> answer
type worker_msg = PP_Pack.PC.worker_msg
val worker_msg_t : worker_msg Repr.t
type main_prover_state = PP_Pack.PC.main_prover_state
type main_prover_msg = PP_Pack.PC.main_prover_msg
val main_prover_msg_t : main_prover_msg Repr.t
type partial_prover_aux = PP_Pack.PC.partial_prover_aux
val distributed_expand_transcript : transcript -> query list -> answer list -> transcript
val distributed_prove_main1 : Public_parameters.prover -> transcript -> query list -> answer list -> secret list -> Commitment.prover_aux list -> worker_msg * main_prover_state
val distributed_prove_worker : secret list -> Commitment.prover_aux list -> worker_msg -> main_prover_msg
val distributed_prove_main2 : main_prover_state -> main_prover_msg list -> proof * transcript * partial_prover_aux
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.