Mavryk_raw_protocol_alpha.Sapling_repr
type transaction = Mavryk_protocol_environment_alpha.Sapling.UTXO.transaction
val transaction_encoding :
Mavryk_protocol_environment_alpha.Sapling.UTXO.transaction Data_encoding.t
type diff = {
commitments_and_ciphertexts : (Mavryk_protocol_environment_alpha.Sapling.Commitment.t
* Mavryk_protocol_environment_alpha.Sapling.Ciphertext.t)
list;
nullifiers : Mavryk_protocol_environment_alpha.Sapling.Nullifier.t list;
}
val diff_encoding :
diff Mavryk_protocol_environment_alpha.Data_encoding.encoding
module Memo_size : sig ... end
val transaction_get_memo_size :
Mavryk_protocol_environment_alpha.Sapling.UTXO.transaction ->
int option
val input_in_memory_size : Saturation_repr.may_saturate Saturation_repr.t
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 :
Mavryk_protocol_environment_alpha.Sapling.UTXO.transaction ->
Saturation_repr.may_saturate Saturation_repr.t
Returns an approximation of the in-memory size of a Sapling transaction.
val diff_in_memory_size :
diff ->
Saturation_repr.may_saturate Saturation_repr.t
Returns an approximation of the in-memory size of a Sapling diff.