package tezos-context

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

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-16.0.tar.gz
sha256=ad9e08819871c75ba6f4530b125f7d157799398e4d77a1e6bfea9d91ff37ff55
sha512=c5dc4d40cc09bc6980fbbdb5c2e105bf4252cf9cfcb2b49660b0ebe4dc789f6709ec3b3bf2f87d81580d3eed9521eeb1c960f24d9b14eb0285aaba1f84d10a9b

doc/tezos-context.dump/Tezos_context_dump/Context_dump/Make/argument-1-I/Snapshot/index.html

Module I.Snapshot

This type exposes the internal nodes used in irmin in order to use them during snapshot import and export.

type kinded_hash =
  1. | Contents of hash * unit
  2. | Node of hash
type entry = {
  1. step : string;
  2. hash : kinded_hash;
}
type inode_tree = {
  1. depth : int;
  2. length : int;
  3. pointers : (int * hash) list;
}
type v =
  1. | Inode_tree of inode_tree
  2. | Inode_value of entry list
type inode = {
  1. v : v;
  2. root : bool;
}
type t =
  1. | Inode of inode
  2. | Blob of contents
val encoding : inode Tezos_base.TzPervasives.Data_encoding.t
OCaml

Innovation. Community. Security.