2018-01-22 21:58:43 +04:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
2018-02-06 00:17:03 +04:00
|
|
|
(* Copyright (c) 2014 - 2018. *)
|
2018-01-22 21:58:43 +04:00
|
|
|
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
|
|
|
|
(* *)
|
|
|
|
(* All rights reserved. No warranty, explicit or implicit, provided. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
|
|
|
|
|
|
|
val stat :
|
|
|
|
([ `POST ], unit,
|
|
|
|
unit, unit, unit,
|
2018-02-08 13:51:02 +04:00
|
|
|
P2p_stat.t) RPC_service.t
|
2018-01-22 21:58:43 +04:00
|
|
|
|
|
|
|
val versions :
|
|
|
|
([ `POST ], unit,
|
|
|
|
unit, unit, unit,
|
2018-02-08 13:51:02 +04:00
|
|
|
P2p_version.t list) RPC_service.t
|
2018-01-22 21:58:43 +04:00
|
|
|
|
|
|
|
val events :
|
|
|
|
([ `POST ], unit,
|
|
|
|
unit, unit, unit,
|
2018-02-08 13:51:02 +04:00
|
|
|
P2p_connection.Pool_event.t) RPC_service.t
|
2018-01-22 21:58:43 +04:00
|
|
|
|
|
|
|
val connect :
|
|
|
|
([ `POST ], unit,
|
2018-01-24 15:48:25 +04:00
|
|
|
unit * P2p_point.Id.t, unit, float,
|
2018-02-08 13:51:02 +04:00
|
|
|
unit tzresult) RPC_service.t
|
2018-01-22 21:58:43 +04:00
|
|
|
|
|
|
|
module Connection : sig
|
|
|
|
|
|
|
|
val list :
|
|
|
|
([ `POST ], unit,
|
|
|
|
unit, unit, unit,
|
2018-02-08 13:51:02 +04:00
|
|
|
P2p_connection.Info.t list) RPC_service.t
|
2018-01-22 21:58:43 +04:00
|
|
|
|
|
|
|
val info :
|
|
|
|
([ `POST ], unit,
|
2018-01-24 15:48:25 +04:00
|
|
|
unit * P2p_peer.Id.t, unit, unit,
|
2018-02-08 13:51:02 +04:00
|
|
|
P2p_connection.Info.t option) RPC_service.t
|
2018-01-22 21:58:43 +04:00
|
|
|
|
|
|
|
val kick :
|
|
|
|
([ `POST ], unit,
|
2018-01-24 15:48:25 +04:00
|
|
|
unit * P2p_peer.Id.t, unit, bool,
|
2018-02-08 13:51:02 +04:00
|
|
|
unit) RPC_service.t
|
2018-01-22 21:58:43 +04:00
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
module Point : sig
|
|
|
|
val list :
|
|
|
|
([ `POST ], unit,
|
2018-01-24 15:48:25 +04:00
|
|
|
unit, unit, P2p_point.State.t list,
|
2018-02-08 13:51:02 +04:00
|
|
|
(P2p_point.Id.t * P2p_point.Info.t) list) RPC_service.t
|
2018-01-22 21:58:43 +04:00
|
|
|
val info :
|
|
|
|
([ `POST ], unit,
|
2018-01-24 15:48:25 +04:00
|
|
|
unit * P2p_point.Id.t, unit, unit,
|
2018-02-08 13:51:02 +04:00
|
|
|
P2p_point.Info.t option) RPC_service.t
|
2018-01-22 21:58:43 +04:00
|
|
|
val events :
|
|
|
|
([ `POST ], unit,
|
2018-01-24 15:48:25 +04:00
|
|
|
unit * P2p_point.Id.t, unit, bool,
|
2018-02-08 13:51:02 +04:00
|
|
|
P2p_point.Pool_event.t list) RPC_service.t
|
2018-01-22 21:58:43 +04:00
|
|
|
end
|
|
|
|
|
|
|
|
module Peer_id : sig
|
|
|
|
|
|
|
|
val list :
|
|
|
|
([ `POST ], unit,
|
2018-01-24 15:48:25 +04:00
|
|
|
unit, unit, P2p_peer.State.t list,
|
2018-02-08 13:51:02 +04:00
|
|
|
(P2p_peer.Id.t * P2p_peer.Info.t) list) RPC_service.t
|
2018-01-22 21:58:43 +04:00
|
|
|
|
|
|
|
val info :
|
|
|
|
([ `POST ], unit,
|
2018-01-24 15:48:25 +04:00
|
|
|
unit * P2p_peer.Id.t, unit, unit,
|
2018-02-08 13:51:02 +04:00
|
|
|
P2p_peer.Info.t option) RPC_service.t
|
2018-01-22 21:58:43 +04:00
|
|
|
|
|
|
|
val events :
|
|
|
|
([ `POST ], unit,
|
2018-01-24 15:48:25 +04:00
|
|
|
unit * P2p_peer.Id.t, unit, bool,
|
2018-02-08 13:51:02 +04:00
|
|
|
P2p_peer.Pool_event.t list) RPC_service.t
|
2018-01-22 21:58:43 +04:00
|
|
|
|
|
|
|
end
|