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. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
|
|
|
|
|
|
|
open Error_monad
|
|
|
|
|
|
|
|
val service:
|
2018-02-08 13:51:02 +04:00
|
|
|
([ `POST ], unit, unit, unit, unit, Json_schema.schema) RPC_service.t
|
2018-01-22 21:58:43 +04:00
|
|
|
val encoding: error list Data_encoding.t
|
|
|
|
val wrap: 'a Data_encoding.t -> 'a tzresult Data_encoding.encoding
|
2018-02-08 13:51:02 +04:00
|
|
|
|
|
|
|
module F : sig
|
|
|
|
open RPC_context
|
|
|
|
val schema: #simple -> Json_schema.schema tzresult Lwt.t
|
|
|
|
end
|