Pvm.Irmin_contexttype repo = Tezos_layer2_irmin_context.Irmin_context.repotype tree = Tezos_layer2_irmin_context.Irmin_context.treetype 'a index = 'a Tezos_layer2_irmin_context.Irmin_context.indexA context hash is the hash produced when the data of the context is committed to disk, i.e. the commit hash.
val equality_witness :
repo Tezos_layer2_store.Context_sigs.Equality_witness.t
* tree Tezos_layer2_store.Context_sigs.Equality_witness.tval load :
cache_size:int ->
?async_domain:bool ->
'a Tezos_layer2_store.Access_mode.t ->
string ->
'a index Tezos_base.TzPervasives.tzresult Lwt.tload cache_size path initializes from disk a context from path. cache_size allows to change the LRU cache size of Irmin (100_000 by default at irmin-pack/config.ml
val reload : ro_index -> unitcommit ?message context commits content of the context context on disk, and return the commit hash.
empty ctxt is the context with an empty content for the repository ctxt.
val split : _ index -> unitsplit ctxt creates a new suffix file, also called "chunk", into the Irmin's file hierarchy. This split function is expected to be called after committing a commit that will be a future candidate for a GC target.
gc index ?callback hash removes all data older than hash from disk. If passed, callback will be executed when garbage collection finishes.
val wait_gc_completion : [> `Write ] index -> unit Lwt.twait_gc_completion index will return a blocking thread if a GC run is currently ongoing.
val context_hash_of_hash :
hash ->
Tezos_layer2_store.Smart_rollup_context_hash.tval hash_of_context_hash :
Tezos_layer2_store.Smart_rollup_context_hash.t ->
hashmodule PVMState : sig ... endState of the PVM that the EVM node handles