package tezos-p2p-services

  1. Overview
  2. Docs
val info : ([ `GET ], unit, unit * Tezos_base.TzPervasives.P2p_peer.Id.t, unit, unit, (Peer_metadata.t, Connection_metadata.t) Tezos_base.TzPervasives.P2p_peer.Info.t) Tezos_rpc.Service.t
val events : ([ `GET ], unit, unit * Tezos_base.TzPervasives.P2p_peer.Id.t, < monitor : bool >, unit, Tezos_base.TzPervasives.P2p_peer.Pool_event.t list) Tezos_rpc.Service.t
val patch_input_encoding : [ `Ban | `Open | `Trust ] option Tezos_base.TzPervasives.Data_encoding.t
val patch : ([ `PATCH ], unit, unit * Tezos_crypto.Crypto_box.Public_key_hash.t, unit, [ `Ban | `Open | `Trust ] option, (Peer_metadata.t, Connection_metadata.t) Tezos_base.TzPervasives.P2p_peer.Info.t) Tezos_rpc.Service.service
val ban : ([ `GET ], unit, unit * Tezos_base.TzPervasives.P2p_peer.Id.t, unit, unit, unit) Tezos_rpc.Service.t
val unban : ([ `GET ], unit, unit * Tezos_base.TzPervasives.P2p_peer.Id.t, unit, unit, unit) Tezos_rpc.Service.t
val trust : ([ `GET ], unit, unit * Tezos_base.TzPervasives.P2p_peer.Id.t, unit, unit, unit) Tezos_rpc.Service.t
val untrust : ([ `GET ], unit, unit * Tezos_base.TzPervasives.P2p_peer.Id.t, unit, unit, unit) Tezos_rpc.Service.t
val banned : ([ `GET ], unit, unit * Tezos_base.TzPervasives.P2p_peer.Id.t, unit, unit, bool) Tezos_rpc.Service.t
OCaml

Innovation. Community. Security.