Up – Package index » tezos-context » Library tezos-context.memory » Tezos_context_memory » MakeModule Tezos_context_memory.Make Source tezos-context README Library tezos-context Library tezos-context.disk Library tezos-context.dump Library tezos-context.encoding Library tezos-context.helpers Library tezos-context.memory Library tezos-context.merkle_proof_encoding Library tezos-context.sigs Sources Parameters Signatureinclude sig ... end Source val list : t -> ?offset :int -> ?length :int -> key -> (string * tree ) list Lwt .tSource val fold :
?depth :[ `Eq of int | `Le of int | `Lt of int | `Ge of int | `Gt of int ] ->
t ->
key ->
order :[ `Sorted | `Undefined ] ->
init :'a ->
f :(key -> tree -> 'a -> 'a Lwt .t ) ->
'a Lwt .tSource type node_key = Tezos_base .TzPervasives.Context_hash.t Source type value_key = Tezos_base .TzPervasives.Context_hash.t Source val compute_testchain_chain_id :
Tezos_base .TzPervasives.Block_hash.t ->
Tezos_base .TzPervasives.Chain_id.tSource val compute_testchain_genesis :
Tezos_base .TzPervasives.Block_hash.t ->
Tezos_base .TzPervasives.Block_hash.tSource val to_memory_tree : t -> string list -> tree option Lwt .tSource val exists : index -> Tezos_base .TzPervasives.Context_hash.t -> bool Lwt .t Source val checkout :
index ->
Tezos_base .TzPervasives.Context_hash.t ->
context option Lwt .tSource val gc : index -> Tezos_base .TzPervasives.Context_hash.t -> unit Lwt .t Source val export_snapshot :
index ->
Tezos_base .TzPervasives.Context_hash.t ->
path :string ->
unit Lwt .t Source val set_head :
index ->
Tezos_crypto .Hashed.Chain_id.t ->
Tezos_base .TzPervasives.Context_hash.t ->
unit Lwt .t Source val set_master : index -> Tezos_base .TzPervasives.Context_hash.t -> unit Lwt .t Source val get_hash_version :
context ->
Tezos_base .TzPervasives.Context_hash.Version.tSource val get_protocol : context -> Tezos_base .TzPervasives.Protocol_hash.t Lwt .tSource val clear_test_chain :
index ->
Tezos_base .TzPervasives.Chain_id.t ->
unit Lwt .t Source exception Context_dangling_hash of stringSource val encoding : t Tezos_base .TzPervasives.Data_encoding.tSource val make_empty_context : ?root :string -> unit -> t