package tezos-context

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

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-16.1.tar.gz
sha256=43723d096307603703a1a89ed1b2eb202b365f5e7824b96b0cbf813b343a6cf7
sha512=b2a637f2e965000d3d49ad85277ca24d6cb07a1a7cf2bc69d296d8b03ad78c3eaa8e21e94b9162e62c2e11649cd03bc845b2a3dafe623b91065df69d47dc8e4f

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.