Context_hash.Version
The module for representing the hash version of a context
include Mavryk_stdlib.Compare.S with type t := t
val pp : Stdlib.Format.formatter -> t -> unit
pp
is the pretty-printer for hash versions.
val encoding : t Data_encoding.t
encoding
is the data encoding for hash versions.
val of_int : int -> t
of_int i
is the hash version equivalent to i
. This function raises Invalid_argument
if i
is not an unsigned 16-bit integer.