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. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
|
|
|
|
2017-04-27 03:01:05 +04:00
|
|
|
val forge_block_header:
|
2017-12-07 20:43:21 +04:00
|
|
|
([ `POST ], unit,
|
|
|
|
unit, unit, Block_header.t,
|
2018-02-08 13:51:02 +04:00
|
|
|
MBytes.t) RPC_service.t
|
2016-09-08 21:13:10 +04:00
|
|
|
|
2017-03-30 15:16:21 +04:00
|
|
|
type inject_block_param = {
|
|
|
|
raw: MBytes.t ;
|
|
|
|
blocking: bool ;
|
|
|
|
force: bool ;
|
2017-11-14 06:14:26 +04:00
|
|
|
net_id: Net_id.t option ;
|
2017-11-14 02:27:19 +04:00
|
|
|
operations: Operation.t list list ;
|
2017-03-30 15:16:21 +04:00
|
|
|
}
|
|
|
|
|
2016-09-08 21:13:10 +04:00
|
|
|
val inject_block:
|
2017-12-07 20:43:21 +04:00
|
|
|
([ `POST ], unit,
|
|
|
|
unit, unit, inject_block_param,
|
2018-02-08 13:51:02 +04:00
|
|
|
Block_hash.t tzresult) RPC_service.t
|
2016-09-08 21:13:10 +04:00
|
|
|
|
|
|
|
val inject_operation:
|
2017-12-07 20:43:21 +04:00
|
|
|
([ `POST ], unit,
|
2017-11-23 19:39:33 +04:00
|
|
|
unit, unit, (MBytes.t * bool * Net_id.t option),
|
2018-02-08 13:51:02 +04:00
|
|
|
Operation_hash.t tzresult) RPC_service.t
|
2016-09-08 21:13:10 +04:00
|
|
|
|
2016-10-21 16:01:20 +04:00
|
|
|
val inject_protocol:
|
2017-12-07 20:43:21 +04:00
|
|
|
([ `POST ], unit,
|
|
|
|
unit, unit, (Protocol.t * bool * bool option),
|
2018-02-08 13:51:02 +04:00
|
|
|
Protocol_hash.t tzresult) RPC_service.t
|
2017-12-07 20:43:21 +04:00
|
|
|
|
|
|
|
val bootstrapped:
|
|
|
|
([ `POST ], unit,
|
|
|
|
unit, unit, unit,
|
2018-02-08 13:51:02 +04:00
|
|
|
Block_hash.t * Time.t) RPC_service.t
|
2017-12-07 20:43:21 +04:00
|
|
|
|
|
|
|
val complete:
|
|
|
|
([ `POST ], unit,
|
|
|
|
unit * string, unit, unit,
|
2018-02-08 13:51:02 +04:00
|
|
|
string list) RPC_service.t
|
2016-10-16 23:57:56 +04:00
|
|
|
|
2017-12-09 06:51:58 +04:00
|
|
|
val describe: (unit, unit) RPC_service.description_service
|