= 768" x-on:close-sidebar="sidebar=window.innerWidth >= 768 && true">
package tezos-sapling
-
tezos-sapling
-
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Necessary infos to create spend some money belonging to our key. *
include T_encoding with type t := t
val encoding : t Data_encoding.t
val of_ciphertext :
pos:int64 ->
Ciphertext.t ->
Viewing_key.t ->
(Bytes.t * t) option
Decrypt a ciphertext to create a input. The decryption can fail if the description key is incorrect or the ciphertext is incorrect. The returned bytes are a memo added by the sender *
val of_ciphertext_out :
pos:int64 ->
Ciphertext.t ->
Spending_key.ovk ->
Commitment.t ->
(Bytes.t * t) option
Same as of_ciphertext but requires only the ovk. *
val check_cm : t -> Commitment.t -> bool
Check that a commitment corresponds to an input *