package octez-shell-libs

  1. Overview
  2. Docs
Octez shell libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.0.tar.gz
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a

doc/octez-shell-libs.shell-benchmarks/Tezos_shell_benchmarks/Io_helpers/index.html

Module Tezos_shell_benchmarks.Io_helpersSource

Helpers for loading contexts, saving contexts, writing to contexts, etc. Also contains the Key_map module, heavily used for preparing benchmarks and computing statistics.

Sourceval assert_ok : msg:string -> ('a, Tezos_base.TzPervasives.tztrace) result -> 'a
Sourceval prepare_genesis : string -> (Tezos_context.Context.index * Tezos_protocol_environment.Context.t * Tezos_base.TzPervasives.Context_hash.t, Tezos_base.TzPervasives.tztrace) result Lwt.t
Sourceval commit : Tezos_protocol_environment.Context.t -> Tezos_base.TzPervasives.Context_hash.t Lwt.t
Sourceval load_context_from_disk_lwt : string -> Tezos_base.TzPervasives.Context_hash.t -> (Tezos_protocol_environment.Context.t * Tezos_context.Context.index) Lwt.t
Sourceval load_context_from_disk : string -> Tezos_base.TzPervasives.Context_hash.t -> Tezos_protocol_environment.Context.t * Tezos_context.Context.index
Sourceval with_context : base_dir:string -> context_hash:Tezos_base.TzPervasives.Context_hash.t -> (Tezos_protocol_environment.Context.t -> 'a Lwt.t) -> 'a
Sourceval prepare_base_dir : string -> unit
Sourceval initialize_key : Random.State.t -> Tezos_protocol_environment.Context.t -> Tezos_protocol_environment.Context.key -> int -> Tezos_protocol_environment.Context.t Lwt.t
Sourceval commit_and_reload : string -> Tezos_context.Context.index -> Tezos_protocol_environment.Context.t -> (Tezos_protocol_environment.Context.t * Tezos_context.Context.index) Lwt.t
Sourcemodule Key_map : sig ... end

Maps from string lists to bytes. No balancing. A key cannot be a prefix or a suffix to another key.

Sourceval take_n : int -> 'a list -> 'a list -> 'a list * 'a list
Sourceval sample_without_replacement : int -> 'a list -> 'a list * 'a list
Sourceval buffer_size : int
Sourceval buffer : bytes
Sourceval file_copy : string -> string -> unit
Sourceval set_infos : string -> Unix.stats -> unit
Sourceval iter_dir : (string -> 'a) -> string -> unit
Sourceval copy_rec : string -> string -> unit
OCaml

Innovation. Community. Security.