package octez-shell-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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_base.TzPervasives.Block_hash.t list;
    (*

    predecessors of the block

    *)
  3. resulting_context_hash : Tezos_base.TzPervasives.Context_hash.t;
    (*

    context hash after block application

    *)
}

The type for storing the block's info.

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

Pretty-printer for t

OCaml

Innovation. Community. Security.