package tezt-tezos

  1. Overview
  2. Docs
type t
type event = {
  1. name : string;
  2. value : Tezt.JSON.t;
  3. timestamp : float;
}
val create : protocol:Protocol.t -> ?name:string -> ?color:Tezt.Log.Color.t -> ?event_pipe:string -> ?runner:Tezt.Runner.t -> Node.t -> t
val terminate : ?timeout:float -> t -> unit Lwt.t

Send SIGTERM and wait for the process to terminate.

Default timeout is 30 seconds, after which SIGKILL is sent.

val kill : t -> unit Lwt.t

Send SIGKILL and wait for the process to terminate.

val run : t -> unit Lwt.t
val init : protocol:Protocol.t -> ?name:string -> ?color:Tezt.Log.Color.t -> ?event_pipe:string -> ?runner:Tezt.Runner.t -> Node.t -> t Lwt.t
val restart : t -> unit Lwt.t
val on_event : t -> (event -> unit) -> unit
module Helpers : sig ... end

Helpers models functions from Lib_delegate.Vdf_helpers.

OCaml

Innovation. Community. Security.