package tezos-context

  1. Overview
  2. Docs
Tezos: on-disk context abstraction for `tezos-node`

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-v12.3.tar.bz2
sha256=296bb5674bc6050afe6330326fbdd0dfc2255d414bfd6b79cc7666ac6b39316d
sha512=c061cd300a9410300851158d77bf8e56ca3c568b0b1161b38305e5b2efdcd9c746d391f832fdb2826f9a1d6babce10a9b764a4b04f5df42699f7314b9863123a

doc/tezos-context.encoding/Tezos_context_encoding/Context/Hash/index.html

Module Context.HashSource

include Irmin.Hash.S
Sourcetype t

The type for digest hashes.

Sourceval hash : ((string -> unit) -> unit) -> t

Compute a deterministic store key from a sequence of strings.

Sourceval short_hash : t -> int

short_hash h is a small hash of h, to be used for instance as the `hash` function of an OCaml Hashtbl.

Sourceval hash_size : int

hash_size is the size of hash results, in bytes.

Value Types

t is the value type for t.

Sourceval to_raw_string : t -> string
Sourceval to_context_hash : t -> Tezos_base__TzPervasives.Context_hash.t
Sourceval of_context_hash : Tezos_base__TzPervasives.Context_hash.t -> t
OCaml

Innovation. Community. Security.