Module Mavryk_validation.External_validator

module Events : sig ... end
val load_protocol : Mavryk_base.TzPervasives.Protocol_hash.t -> string -> (unit, Mavryk_base.TzPervasives.error list) Stdlib.result Lwt.t
val with_retry_to_load_protocol : string -> (unit -> ('a, Mavryk_base.TzPervasives.error list) Stdlib.result Lwt.t) -> ('a, Mavryk_base.TzPervasives.error list) Stdlib.result Lwt.t
val inconsistent_handshake : string -> Mavryk_base.TzPervasives.error
val handshake : Lwt_io.input_channel -> Lwt_io.output_channel -> (unit, Mavryk_base.TzPervasives.error Mavryk_base.TzPervasives.TzTrace.trace) Stdlib.result Lwt.t
val init : Lwt_io.input_channel -> Lwt_io.output_channel -> (External_validation.parameters * Mavryk_context.Context.index, Mavryk_error_monad.Error_monad.tztrace) Stdlib.result Lwt.t
val run : using_std_channel:bool -> Lwt_io.input_channel -> Lwt_io.output_channel -> (unit, Mavryk_base.TzPervasives.error Mavryk_base.TzPervasives.TzTrace.trace) Stdlib.result Lwt.t
val main : ?socket_dir:string -> unit -> (unit, Mavryk_base.TzPervasives.tztrace) Stdlib.result Lwt.t