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