package tezos-version

  1. Overview
  2. Docs

Node version information.

This module provides several information regarding the node's version:

  • version: current version number
  • network_version: current version of the network
  • commit_info (optional): hash and date of the head commit
type t = {
  1. version : Version.t;
  2. network_version : Tezos_base.Network_version.t;
  3. commit_info : commit_info option;
}
and commit_info = {
  1. commit_hash : string;
  2. commit_date : string;
}
val version_encoding : Version.t Data_encoding.t
val encoding : t Data_encoding.t
OCaml

Innovation. Community. Security.