package tezos-protocol-012-Psithaca

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type transaction
val transaction_encoding : Tezos_sapling__Core.Client.UTXO.transaction Data_encoding.t
type diff = {
  1. commitments_and_ciphertexts : (Tezos_sapling__Core.Client.Commitment.t * Tezos_sapling__Core.Client.Ciphertext.t) list;
  2. nullifiers : Tezos_sapling__Core.Client.Nullifier.t list;
}
val diff_encoding : diff Data_encoding.t
module Memo_size : sig ... end
val transaction_get_memo_size : Tezos_sapling__Core.Client.UTXO.transaction -> int option
val ciphertext_size : int -> Saturation_repr.may_saturate Saturation_repr.t
val output_in_memory_size : int -> Saturation_repr.may_saturate Saturation_repr.t
val transaction_in_memory_size : Tezos_sapling__Core.Client.UTXO.transaction -> Saturation_repr.may_saturate Saturation_repr.t

Returns an approximation of the in-memory size of a Sapling transaction.

Returns an approximation of the in-memory size of a Sapling diff.

OCaml

Innovation. Community. Security.