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.1.tar.gz
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053

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

Module Raw.UTXOSource

Sourcetype rk = R.rk
Sourcetype spend_proof = R.spend_proof
Sourcetype sighash = R.sighash

What gets signed. Has to be a hash of an input plus anti-replay string.

Sourceval hash_input : R.cv -> R.nullifier -> R.rk -> R.spend_proof -> string -> R.sighash
Sourcetype spend_sig = R.spend_sig
Sourcetype input = {
  1. cv : CV.t;
  2. nf : Nullifier.t;
  3. rk : rk;
  4. proof_i : spend_proof;
  5. signature : spend_sig;
}
Sourceval input_encoding : input Data_encoding.encoding
Sourcetype output_proof = R.output_proof
Sourcetype output = {
  1. cm : Commitment.t;
  2. proof_o : output_proof;
  3. ciphertext : Ciphertext.t;
}
Sourceval output_encoding : output Data_encoding.encoding
Sourcetype binding_sig = R.binding_sig
Sourceval binding_sig_encoding : R.binding_sig Data_encoding.encoding
Sourceval hash_transaction : input list -> output list -> bound_data:string -> string -> R.sighash
Sourcetype transaction = {
  1. inputs : input list;
  2. outputs : output list;
  3. binding_sig : binding_sig;
  4. balance : int64;
  5. root : Hash.t;
  6. bound_data : string;
}
Sourceval transaction_encoding : transaction Data_encoding.encoding
Sourceval max_amount : int64
Sourceval valid_amount : int64 -> bool
Sourcemodule Legacy : sig ... end
OCaml

Innovation. Community. Security.