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 = PC_Pack.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 = PC_Pack.worker_msg
val worker_msg_t : worker_msg Repr.t
type main_prover_state = PC_Pack.main_prover_state
type main_prover_msg = PC_Pack.main_prover_msg
val main_prover_msg_t : main_prover_msg Repr.t
type partial_prover_aux = PC_Pack.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
type prover_aux = PC_Pack.prover_aux = {
  1. r : Kzg.Bls.Scalar.t;
  2. s_list : Kzg.Bls.Scalar.t Kzg.SMap.t list;
}
OCaml

Innovation. Community. Security.