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.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.