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-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65

doc/octez-libs.tezos-sapling/Tezos_sapling/Core/Client/index.html

Module Core.ClientSource

include Core_sig.Validator with module Commitment := Commitment and module CV := CV and module Nullifier := Nullifier
Sourceval init_params : unit -> unit

Loads the ZCash parameters for Groth16, searching them in:

  • /usr/share/zcash-params
  • ${OPAM_SWITCH_PREFIX}/share/zcash-params
  • ${HOME}/.zcash-params Only Sapling's parameters are loaded, not Sprout's.

This function must be called before any of the proving and verification functions requiring a context. Usually you should not need to call this function directly as it is done by the fist call to `with_{proving,verification}_ctx`. However you can call this function in order to:

  • pay its cost upfront and have more predictable latency later
  • make sure that the parameters are present in the system and avoid a failure later.
Sourcemodule Ciphertext : sig ... end
Sourcemodule UTXO : Core_sig.UTXO with type ciphertext := Ciphertext.t and type commitment := Commitment.t and type cv := CV.t and type hash := Hash.t and type nullifier := Nullifier.t
Sourcemodule Verification : sig ... end
Sourcemodule Proving : sig ... end
Sourcemodule Forge : sig ... end
OCaml

Innovation. Community. Security.