package tezos-context

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

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-17.3.tar.gz
sha256=7062cd57addd452852598a2214ade393130efa087b99068d53713bdf912b3680
sha512=08e4091144a03ce3c107fb91a66501bd8b65ca3278917c455a2eaac6df3e108ade63f6ab8340a4bb152d60f404326e464d0ec95d26cafe8e82f870465d24a5fc

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.