2016-09-08 21:13:10 +04:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
2018-02-06 00:17:03 +04:00
|
|
|
(* Copyright (c) 2014 - 2018. *)
|
2016-09-08 21:13:10 +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
|
|
|
|
|
2017-04-27 03:01:05 +04:00
|
|
|
val forge_block_header:
|
2018-02-08 13:51:02 +04:00
|
|
|
#simple ->
|
|
|
|
Block_header.t ->
|
|
|
|
MBytes.t tzresult Lwt.t
|
2017-03-30 15:16:21 +04:00
|
|
|
|
2018-02-08 13:51:02 +04:00
|
|
|
module S : sig
|
|
|
|
|
|
|
|
val forge_block_header:
|
|
|
|
([ `POST ], unit,
|
|
|
|
unit, unit, Block_header.t,
|
|
|
|
MBytes.t) RPC_service.t
|
|
|
|
|
|
|
|
end
|