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

octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13

doc/octez-libs.srs-extraction/Octez_srs_extraction/Libsrs/Powers_of_tau/index.html

Module Libsrs.Powers_of_tauSource

This module handles the file format of the result of powers-of-tau ceremony.

The layout of the file can be found at the bottom of this file https://github.com/ebfull/powersoftau/blob/master/src/bin/verify.rs to be let tau_powers_length = 1 lsl power in G1.size_in_bytes (* alpha in g1 *)

  1. G1.size_in_bytes (* beta in g1 *)
  2. G2.size_in_bytes (* beta in g2 *)
  3. (tau_powers_length * G1.size_in_bytes) (* g1_coeffs *)
  4. (tau_powers_length * G2.size_in_bytes) (* g2_coeffs *)
  5. (tau_powers_length * G1.size_in_bytes) (* g1_alpha_coeffs *)
  6. (tau_powers_length * G1.size_in_bytes) (* g1_beta_coeffs *)
  7. ((tau_powers_length - 1) * G1.size_in_bytes) (* h *)
Sourceval generate_domain : int -> Bls12_381.Fr.t array
Sourceval power_of_radixfile : string -> int
Sourceval to_gs : string -> int -> int -> (bytes -> 'a) -> (domain:Octez_bls12_381_polynomial.Domain.t -> points:'b -> 'c) -> ('a array -> 'b) -> 'c
Sourceval to_g1s : string -> G1_carray.t
Sourceval to_g2s : string -> G2_carray.t
OCaml

Innovation. Community. Security.