Module Mavryk_shell.Peer_validator

type t
val peer_id : t -> Mavryk_base.P2p_peer.Id.t
val create : ?notify_new_block:(Block_validator.new_block -> unit) -> ?notify_termination:(unit -> unit) -> Mavryk_shell_services.Shell_limits.peer_validator_limits -> Block_validator.t -> Distributed_db.chain_db -> Mavryk_base.P2p_peer.Id.t -> t Lwt.t
val shutdown : t -> unit Lwt.t
val notify_branch : t -> Mavryk_base.Block_locator.t -> unit
val running_workers : unit -> ((Mavryk_base.TzPervasives.Chain_id.t * Mavryk_base.P2p_peer.Id.t) * t) list
module Internal_for_tests : sig ... end