2018-01-26 16:07:49 +04:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
2018-02-06 00:17:03 +04:00
|
|
|
(* Copyright (c) 2014 - 2018. *)
|
2018-01-26 16:07:49 +04:00
|
|
|
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
|
|
|
|
(* *)
|
|
|
|
(* All rights reserved. No warranty, explicit or implicit, provided. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
|
|
|
|
2018-02-08 13:51:02 +04:00
|
|
|
open RPC_context
|
2018-01-26 16:07:49 +04:00
|
|
|
|
2018-02-08 13:51:02 +04:00
|
|
|
val contents:
|
|
|
|
#simple -> Protocol_hash.t -> Protocol.t tzresult Lwt.t
|
2018-01-26 16:07:49 +04:00
|
|
|
|
|
|
|
val list:
|
2018-02-08 13:51:02 +04:00
|
|
|
#simple ->
|
2018-04-21 15:09:59 +04:00
|
|
|
Protocol_hash.t list tzresult Lwt.t
|
2018-02-08 13:51:02 +04:00
|
|
|
|
|
|
|
module S : sig
|
|
|
|
|
|
|
|
val contents:
|
2018-04-21 15:09:59 +04:00
|
|
|
([ `GET ], unit,
|
2018-02-08 13:51:02 +04:00
|
|
|
unit * Protocol_hash.t, unit, unit,
|
|
|
|
Protocol.t) RPC_service.t
|
|
|
|
|
|
|
|
val list:
|
2018-04-21 15:09:59 +04:00
|
|
|
([ `GET ], unit,
|
|
|
|
unit, unit, unit,
|
|
|
|
Protocol_hash.t list) RPC_service.t
|
2018-02-08 13:51:02 +04:00
|
|
|
|
|
|
|
end
|