package tezos-store

  1. Overview
  2. Docs

Module for handling values needed by the legacy upgrade. It exposes the cycle_length to allow upgrading supported_networks only. These values are mandatory as the new backend regroup blocks by cycles, something which was not available in the previous representation when the metadata of blocks is not fully available.

type network = {
  1. name : Tezos_base.Distributed_db_version.Name.t;
  2. cycle_length : int;
}
val supported_networks : network list
val cycle_length : chain_name:Tezos_base.Distributed_db_version.Name.t -> int
OCaml

Innovation. Community. Security.