package octez-libs

  1. Overview
  2. Docs
A package that contains multiple base libraries used by the Octez suite

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.0.tar.gz
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a

doc/octez-libs.distributed-plonk/Distributed_plonk/Distribution_helpers/DP_PlonK/Msg/index.html

Module DP_PlonK.MsgSource

module MP : sig ... end
type !'a step =
  1. | S_ctw : [ `Commit_to_wires ] step
  2. | S_ctp : [ `Commit_to_plook ] step
  3. | S_pppi : [ `PP_prepare_ids ] step
  4. | S_ppctt : [ `PP_commit_to_t ] step
  5. | S_ppkeax : [ `PP_kzg_eval_at_x ] step
  6. | S_pcd : [ `PC_distribution ] step
type ctw_payload = {
  1. index : int;
  2. content : MP.worker_inputs Plonk.SMap.t;
}
type ctpap_payload = {
  1. index : int;
  2. content : MP.PP.transcript;
}
type pppi_payload = {
  1. index : int;
  2. content : MP.PP.transcript;
}
type ppctt_payload = {
  1. index : int;
  2. content : string list * Plonk.Bls.Scalar.t;
}
type ppkeax_payload = {
  1. index : int;
  2. content : MP.PP.transcript;
}
type pcd_payload = {
  1. index : int;
  2. content : MP.PP.PC.worker_msg;
}
type !'step request =
  1. | Commit_to_wires : ctw_payload -> [ `Commit_to_wires ] request
  2. | Commit_to_plook : ctpap_payload -> [ `Commit_to_plook ] request
  3. | PP_prepare_ids : pppi_payload -> [ `PP_prepare_ids ] request
  4. | PP_commit_to_t : ppctt_payload -> [ `PP_commit_to_t ] request
  5. | PP_KZG_eval_at_x : ppkeax_payload -> [ `PP_kzg_eval_at_x ] request
  6. | PC_Distribution : pcd_payload -> [ `PC_distribution ] request
type ctw_res_payload = {
  1. index : int;
  2. content : MP.commit_to_wires_reply;
}
type ctpap_res_payload = {
  1. index : int;
  2. content : MP.commit_to_plook_rc_reply;
}
type pppi_res_payload = {
  1. index : int;
  2. content : string list;
}
type ppctt_res_payload = {
  1. index : int;
  2. content : Plonk.Bls.Evaluations.t;
}
type ppkeax_res_payload = {
  1. index : int;
  2. content : MP.PP.PC.answer list;
}
type pcd_res_payload = {
  1. index : int;
  2. content : MP.PP.PC.main_prover_msg;
}
type !'step reply =
  1. | Commit_to_wires_res : ctw_res_payload -> [ `Commit_to_wires ] reply
  2. | Commit_to_plook_res : ctpap_res_payload -> [ `Commit_to_plook ] reply
  3. | PP_prepare_ids_res : pppi_res_payload -> [ `PP_prepare_ids ] reply
  4. | PP_commit_to_t_res : ppctt_res_payload -> [ `PP_commit_to_t ] reply
  5. | PP_KZG_eval_at_x_res : ppkeax_res_payload -> [ `PP_kzg_eval_at_x ] reply
  6. | PC_Distribution_res : pcd_res_payload -> [ `PC_distribution ] reply
type t = bytes
val request_step : 'step request -> 'step step
val of_request : 'a request -> t
val of_reply : 'a reply -> t
val to_request : 'step step -> t -> 'step request option
val to_reply : 'step step -> t -> 'step reply option
val index : t -> int
val string_of_message : t -> string
OCaml

Innovation. Community. Security.