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
val check_network : chain_name:Tezos_base.Distributed_db_version.Name.t -> (unit, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
OCaml

Innovation. Community. Security.