Tezos_base.P2p_rejection
type t =
| No_motive |
| Too_many_connections |
| Already_connected |
| Unknown_chain_name |
| Deprecated_distributed_db_version |
| Deprecated_p2p_version |
| Unknown_motive of error_code |
val pp : Stdlib.Format.formatter -> t -> unit
val pp_short : Stdlib.Format.formatter -> t -> unit
val encoding : t Data_encoding.t
val rejecting : t -> 'a Tezos_error_monad.Error_monad.tzresult