package octez-libs

  1. Overview
  2. Docs
module BasePC : sig ... end
val query_t : query Repr.t
val answer_t : answer Repr.t
type proof = PP_Kzg.PC.proof
val proof_t : proof Repr.t
module Commitment : sig ... end
module Public_parameters : sig ... end
val commit : ?all_keys:string list -> Public_parameters.prover -> secret -> Commitment.t * Commitment.prover_aux
val evaluate : secret -> query -> answer
val merge_answers : answer list -> answer
type worker_msg = PP_Kzg.PC.worker_msg
val worker_msg_t : worker_msg Repr.t
type main_prover_state = PP_Kzg.PC.main_prover_state
type main_prover_msg = PP_Kzg.PC.main_prover_msg
val main_prover_msg_t : main_prover_msg Repr.t
type partial_prover_aux = PP_Kzg.PC.partial_prover_aux
val distributed_expand_transcript : Kzg.Utils.Transcript.t -> query list -> answer list -> Kzg.Utils.Transcript.t
val distributed_prove_main1 : Public_parameters.prover -> Kzg.Utils.Transcript.t -> 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
OCaml

Innovation. Community. Security.