Module Constraint_constants.Fork_config

type t = {
previous_state_hash : string;
previous_length : int;
previous_global_slot : int;
}

Fork data

val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val _ : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val compare : t -> t -> Ppx_deriving_runtime.int
val t_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> t
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val equal : t -> t -> bool
val opt_to_yojson : t option -> Yojson.Safe.t
val opt_of_yojson : Yojson.Safe.t -> ( t option, string ) Core_kernel._result