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.tezos-sapling/Tezos_sapling/Core/Raw/Viewing_key/index.html

Module Raw.Viewing_keySource

Sourcetype ak = R.ak

Public signature key. Note: if this key is exposed there is privacy loss! Only randomised version of it (rk) are published.

Sourcetype nk = R.nk

Public nullifier key. Note: if this key is exposed there is privacy loss! Only randomised version of it (rk) are published.

Sourcetype ivk = R.ivk
Sourcetype pkd = R.pkd
Sourcetype ovk = R.ovk
Sourcetype diversifier = R.diversifier

Used to create an address from a viewing key.

Sourceval diversifier_encoding : R.diversifier Data_encoding.encoding
Sourcetype full_viewing_key = R.full_viewing_key = {
  1. ak : ak;
  2. nk : nk;
  3. ovk : ovk;
}

Full viewing key contains ak, nsk, ovk

Sourcetype t = R.zip32_full_viewing_key = {
  1. depth : Bytes.t;
  2. parent_fvk_tag : Bytes.t;
  3. child_index : Bytes.t;
  4. chain_code : Bytes.t;
  5. fvk : full_viewing_key;
  6. dk : Bytes.t;
}

Type t additionally contains zip-32 related info

Sourceval ovk_of_xfvk : t -> ovk
Sourceval encoding : t Data_encoding.t
Sourceval of_bytes : Bytes.t -> R.zip32_full_viewing_key option
Sourceval of_sk : Spending_key.t -> t
Sourceval compare_index : R.diversifier_index -> R.diversifier_index -> int
Sourceval index_to_int64 : R.diversifier_index -> int64
Sourceval index_of_int64 : int64 -> R.diversifier_index
Sourceval default_index : R.diversifier_index
Sourcetype address = {
  1. diversifier : diversifier;
  2. pkd : pkd;
}
Sourceval address_encoding : address Data_encoding.encoding
Sourceval address_b58check_encoding : address Tezos_crypto.Base58.encoding
Sourceval to_ivk : t -> R.ivk
Sourceval dummy_address : unit -> address
OCaml

Innovation. Community. Security.