package tezos-protocol-alpha

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Alpha_context.SaplingSource

This module re-exports definitions from Sapling_repr, Sapling_storage and Sapling_validator.

Sourcemodule Id : sig ... end

See Sapling_state.Id.

Create a fresh sapling state in the context.

Sourcemodule Memo_size : sig ... end
Sourcetype state = private {
  1. id : Id.t option;
  2. diff : diff;
  3. memo_size : Memo_size.t;
}
Sourceval empty_state : ?id:Id.t -> memo_size:Memo_size.t -> unit -> state

Returns a state with fields filled accordingly. id should only be used by extract_lazy_storage_updates.

Sourceval transaction_get_memo_size : transaction -> Memo_size.t option
Sourcetype updates = diff
Sourceval transaction_in_memory_size : transaction -> Cache_memory_helpers.sint
Sourceval diff_in_memory_size : diff -> Cache_memory_helpers.sint
Sourcemodule Legacy : sig ... end
OCaml

Innovation. Community. Security.