package tezos-store

  1. Overview
  2. Docs

Module Block_info represents the values stored in the index which are used to locate the position of a block in a floating block store and its predecessors.

val max_predecessors : int

The maximum number of predecessors stored per block.

type t = {
  1. offset : int;
    (*

    offset in the file

    *)
  2. predecessors : Tezos_crypto.Block_hash.t list;
    (*

    predecessors of the block

    *)
}

The type for storing the block's info.

val pp : Stdlib.Format.formatter -> t -> unit

Pretty-printer for t

OCaml

Innovation. Community. Security.