2016-09-08 21:13:10 +04:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
2017-11-14 03:36:14 +04:00
|
|
|
(* Copyright (c) 2014 - 2017. *)
|
2016-09-08 21:13:10 +04:00
|
|
|
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
|
|
|
|
(* *)
|
|
|
|
(* All rights reserved. No warranty, explicit or implicit, provided. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
|
|
|
|
|
|
|
val string_of_errors: error list -> string
|
2016-12-03 16:05:02 +04:00
|
|
|
val handle_error: Client_commands.context -> 'a tzresult -> 'a Lwt.t
|
2016-09-08 21:13:10 +04:00
|
|
|
|
2017-04-20 10:49:14 +04:00
|
|
|
type block = Node_rpc_services.Blocks.block
|
2016-09-08 21:13:10 +04:00
|
|
|
|
2017-04-20 17:50:02 +04:00
|
|
|
val header:
|
|
|
|
Client_rpcs.config -> block -> Block_header.t tzresult Lwt.t
|
|
|
|
|
|
|
|
module Header : sig
|
|
|
|
val priority:
|
|
|
|
Client_rpcs.config -> block -> int tzresult Lwt.t
|
|
|
|
val seed_nonce_hash:
|
|
|
|
Client_rpcs.config -> block -> Nonce_hash.t tzresult Lwt.t
|
|
|
|
end
|
|
|
|
|
2016-09-08 21:13:10 +04:00
|
|
|
module Constants : sig
|
2016-12-03 16:05:02 +04:00
|
|
|
val errors:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
|
|
|
block -> Json_schema.schema tzresult Lwt.t
|
2016-12-03 16:05:02 +04:00
|
|
|
val cycle_length:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-12-03 16:05:02 +04:00
|
|
|
block -> int32 tzresult Lwt.t
|
|
|
|
val voting_period_length:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-12-03 16:05:02 +04:00
|
|
|
block -> int32 tzresult Lwt.t
|
|
|
|
val time_before_reward:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-12-03 16:05:02 +04:00
|
|
|
block -> Period.t tzresult Lwt.t
|
2017-02-24 21:32:30 +04:00
|
|
|
val slot_durations:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2017-02-24 21:32:30 +04:00
|
|
|
block -> (Period.t list) tzresult Lwt.t
|
2017-11-01 15:07:33 +04:00
|
|
|
val first_free_baking_slot:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2017-04-10 14:50:15 +04:00
|
|
|
block -> int tzresult Lwt.t
|
2016-12-03 16:05:02 +04:00
|
|
|
val max_signing_slot:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-12-03 16:05:02 +04:00
|
|
|
block -> int tzresult Lwt.t
|
|
|
|
val instructions_per_transaction:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-12-03 16:05:02 +04:00
|
|
|
block -> int tzresult Lwt.t
|
|
|
|
val stamp_threshold:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-12-03 16:05:02 +04:00
|
|
|
block -> int64 tzresult Lwt.t
|
2016-09-08 21:13:10 +04:00
|
|
|
end
|
|
|
|
|
|
|
|
module Context : sig
|
2016-12-03 16:05:02 +04:00
|
|
|
val level:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-12-03 16:05:02 +04:00
|
|
|
block -> Level.t tzresult Lwt.t
|
2017-03-08 21:47:01 +04:00
|
|
|
(** [level cctxt blk] returns the (protocol view of the) level of
|
|
|
|
[blk]. *)
|
|
|
|
|
2016-12-03 16:05:02 +04:00
|
|
|
val next_level:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-12-03 16:05:02 +04:00
|
|
|
block -> Level.t tzresult Lwt.t
|
2017-03-08 21:47:01 +04:00
|
|
|
(** [next_level cctxt blk] returns the (protocol view of the) level
|
|
|
|
of the successor of [blk]. *)
|
|
|
|
|
2017-04-14 22:24:11 +04:00
|
|
|
val voting_period_kind:
|
|
|
|
Client_rpcs.config ->
|
|
|
|
block -> Voting_period.kind tzresult Lwt.t
|
|
|
|
(** [voting_period_kind cctxt blk] returns the voting period kind
|
|
|
|
of [blk]. *)
|
|
|
|
|
2016-09-08 21:13:10 +04:00
|
|
|
module Nonce : sig
|
2016-12-03 16:05:02 +04:00
|
|
|
val hash:
|
2017-11-13 19:34:00 +04:00
|
|
|
Client_rpcs.config ->
|
|
|
|
block -> Nonce_hash.t tzresult Lwt.t
|
2016-09-08 21:13:10 +04:00
|
|
|
type nonce_info =
|
|
|
|
| Revealed of Nonce.t
|
|
|
|
| Missing of Nonce_hash.t
|
|
|
|
| Forgotten
|
2016-12-03 16:05:02 +04:00
|
|
|
val get:
|
2017-11-13 19:34:00 +04:00
|
|
|
Client_rpcs.config ->
|
|
|
|
block -> Raw_level.t -> nonce_info tzresult Lwt.t
|
2016-09-08 21:13:10 +04:00
|
|
|
end
|
|
|
|
module Key : sig
|
|
|
|
val get :
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-09-08 21:13:10 +04:00
|
|
|
block ->
|
|
|
|
public_key_hash -> (public_key_hash * public_key) tzresult Lwt.t
|
|
|
|
val list :
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-09-08 21:13:10 +04:00
|
|
|
block ->
|
|
|
|
((public_key_hash * public_key) list) tzresult Lwt.t
|
|
|
|
end
|
|
|
|
module Contract : sig
|
2016-12-03 16:05:02 +04:00
|
|
|
val list:
|
2017-11-13 19:34:00 +04:00
|
|
|
Client_rpcs.config ->
|
|
|
|
block -> Contract.t list tzresult Lwt.t
|
2016-09-08 21:13:10 +04:00
|
|
|
type info = {
|
|
|
|
manager: public_key_hash ;
|
|
|
|
balance: Tez.t ;
|
|
|
|
spendable: bool ;
|
|
|
|
delegate: bool * public_key_hash option ;
|
2017-03-09 22:17:13 +04:00
|
|
|
script: Script.t option ;
|
2016-09-08 21:13:10 +04:00
|
|
|
counter: int32 ;
|
|
|
|
}
|
2016-12-03 16:05:02 +04:00
|
|
|
val get:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-12-03 16:05:02 +04:00
|
|
|
block -> Contract.t -> info tzresult Lwt.t
|
2016-09-08 21:13:10 +04:00
|
|
|
val balance:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-09-08 21:13:10 +04:00
|
|
|
block -> Contract.t ->
|
|
|
|
Tez.t tzresult Lwt.t
|
|
|
|
val manager:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-09-08 21:13:10 +04:00
|
|
|
block -> Contract.t ->
|
|
|
|
public_key_hash tzresult Lwt.t
|
|
|
|
val delegate:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-09-08 21:13:10 +04:00
|
|
|
block -> Contract.t ->
|
|
|
|
public_key_hash option tzresult Lwt.t
|
|
|
|
val counter:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-09-08 21:13:10 +04:00
|
|
|
block -> Contract.t ->
|
|
|
|
int32 tzresult Lwt.t
|
|
|
|
val spendable:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-09-08 21:13:10 +04:00
|
|
|
block -> Contract.t ->
|
|
|
|
bool tzresult Lwt.t
|
|
|
|
val delegatable:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-09-08 21:13:10 +04:00
|
|
|
block -> Contract.t ->
|
|
|
|
bool tzresult Lwt.t
|
|
|
|
val script:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2017-03-09 22:17:13 +04:00
|
|
|
block -> Contract.t -> Script.t option tzresult Lwt.t
|
2017-07-24 17:57:03 +04:00
|
|
|
val storage:
|
|
|
|
Client_rpcs.config ->
|
2017-11-02 21:57:17 +04:00
|
|
|
block -> Contract.t -> Script.expr option tzresult Lwt.t
|
2016-09-08 21:13:10 +04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
module Helpers : sig
|
|
|
|
val minimal_time:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-09-08 21:13:10 +04:00
|
|
|
block -> ?prio:int -> unit -> Time.t tzresult Lwt.t
|
2017-03-08 21:47:01 +04:00
|
|
|
(** [minimal_time cctxt blk ?prio ()] is the minimal acceptable
|
|
|
|
timestamp for the successor of [blk]. [?prio] defaults to
|
|
|
|
[0]. *)
|
|
|
|
|
2017-02-16 22:01:35 +04:00
|
|
|
val apply_operation:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2017-11-27 09:13:12 +04:00
|
|
|
block -> Block_hash.t -> Operation_hash.t -> MBytes.t -> Ed25519.Signature.t option ->
|
2017-02-16 22:01:35 +04:00
|
|
|
(Contract.t list) tzresult Lwt.t
|
2016-12-03 16:05:02 +04:00
|
|
|
val run_code:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2017-11-02 21:57:17 +04:00
|
|
|
block -> Script.expr ->
|
2017-07-19 13:35:01 +04:00
|
|
|
(Script.expr * Script.expr * Tez.t) ->
|
2016-11-15 18:58:18 +04:00
|
|
|
(Script.expr * Script.expr) tzresult Lwt.t
|
2016-12-03 16:05:02 +04:00
|
|
|
val trace_code:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2017-11-02 21:57:17 +04:00
|
|
|
block -> Script.expr ->
|
2017-07-19 13:35:01 +04:00
|
|
|
(Script.expr * Script.expr * Tez.t) ->
|
2016-11-16 18:05:02 +04:00
|
|
|
(Script.expr * Script.expr *
|
|
|
|
(Script.location * int * Script.expr list) list) tzresult Lwt.t
|
2016-12-03 16:05:02 +04:00
|
|
|
val typecheck_code:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2017-11-02 21:57:17 +04:00
|
|
|
block -> Script.expr -> Script_ir_translator.type_map tzresult Lwt.t
|
2017-01-11 20:42:54 +04:00
|
|
|
val typecheck_data:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-12-03 16:05:02 +04:00
|
|
|
block -> Script.expr * Script.expr -> unit tzresult Lwt.t
|
|
|
|
val hash_data:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-12-03 16:05:02 +04:00
|
|
|
block -> Script.expr -> string tzresult Lwt.t
|
|
|
|
val level:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-12-03 16:05:02 +04:00
|
|
|
block -> ?offset:int32 -> Raw_level.t -> Level.t tzresult Lwt.t
|
|
|
|
val levels:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2017-02-16 00:18:48 +04:00
|
|
|
block -> Cycle.t -> (Raw_level.t * Raw_level.t) tzresult Lwt.t
|
2016-09-08 21:13:10 +04:00
|
|
|
|
|
|
|
module Rights : sig
|
2017-11-01 15:07:33 +04:00
|
|
|
type baking_slot = Raw_level.t * int * Time.t
|
2017-03-14 19:32:01 +04:00
|
|
|
type endorsement_slot = Raw_level.t * int
|
2017-11-01 15:07:33 +04:00
|
|
|
val baking_rights_for_delegate:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-09-08 21:13:10 +04:00
|
|
|
block -> public_key_hash ->
|
|
|
|
?max_priority:int -> ?first_level:Raw_level.t ->
|
|
|
|
?last_level:Raw_level.t -> unit ->
|
2017-11-01 15:07:33 +04:00
|
|
|
(baking_slot list) tzresult Lwt.t
|
2016-09-08 21:13:10 +04:00
|
|
|
val endorsement_rights_for_delegate:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-09-08 21:13:10 +04:00
|
|
|
block -> public_key_hash ->
|
|
|
|
?max_priority:int -> ?first_level:Raw_level.t -> ?last_level:Raw_level.t -> unit ->
|
2017-03-14 19:32:01 +04:00
|
|
|
(endorsement_slot list) tzresult Lwt.t
|
2016-09-08 21:13:10 +04:00
|
|
|
end
|
|
|
|
|
|
|
|
module Forge : sig
|
|
|
|
module Manager : sig
|
|
|
|
val operations:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-09-08 21:13:10 +04:00
|
|
|
block ->
|
2017-04-20 10:49:14 +04:00
|
|
|
branch:Block_hash.t ->
|
2016-09-08 21:13:10 +04:00
|
|
|
source:Contract.t ->
|
|
|
|
?sourcePubKey:public_key ->
|
|
|
|
counter:int32 ->
|
|
|
|
fee:Tez.t ->
|
|
|
|
manager_operation list ->
|
2017-02-16 22:01:35 +04:00
|
|
|
MBytes.t tzresult Lwt.t
|
2016-09-08 21:13:10 +04:00
|
|
|
val transaction:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-09-08 21:13:10 +04:00
|
|
|
block ->
|
2017-04-20 10:49:14 +04:00
|
|
|
branch:Block_hash.t ->
|
2016-09-08 21:13:10 +04:00
|
|
|
source:Contract.t ->
|
|
|
|
?sourcePubKey:public_key ->
|
|
|
|
counter:int32 ->
|
|
|
|
amount:Tez.t ->
|
|
|
|
destination:Contract.t ->
|
|
|
|
?parameters:Script.expr ->
|
|
|
|
fee:Tez.t ->
|
|
|
|
unit -> MBytes.t tzresult Lwt.t
|
|
|
|
val origination:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-09-08 21:13:10 +04:00
|
|
|
block ->
|
2017-04-20 10:49:14 +04:00
|
|
|
branch:Block_hash.t ->
|
2016-09-08 21:13:10 +04:00
|
|
|
source:Contract.t ->
|
|
|
|
?sourcePubKey:public_key ->
|
|
|
|
counter:int32 ->
|
|
|
|
managerPubKey:public_key_hash ->
|
|
|
|
balance:Tez.t ->
|
|
|
|
?spendable:bool ->
|
|
|
|
?delegatable:bool ->
|
|
|
|
?delegatePubKey: public_key_hash ->
|
2017-03-09 22:17:13 +04:00
|
|
|
?script:Script.t ->
|
2016-09-08 21:13:10 +04:00
|
|
|
fee:Tez.t->
|
|
|
|
unit ->
|
2017-02-16 22:01:35 +04:00
|
|
|
MBytes.t tzresult Lwt.t
|
2016-09-08 21:13:10 +04:00
|
|
|
val delegation:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-09-08 21:13:10 +04:00
|
|
|
block ->
|
2017-04-20 10:49:14 +04:00
|
|
|
branch:Block_hash.t ->
|
2016-09-08 21:13:10 +04:00
|
|
|
source:Contract.t ->
|
|
|
|
?sourcePubKey:public_key ->
|
|
|
|
counter:int32 ->
|
|
|
|
fee:Tez.t ->
|
|
|
|
public_key_hash option ->
|
|
|
|
MBytes.t tzresult Lwt.t
|
|
|
|
end
|
2017-02-27 21:24:26 +04:00
|
|
|
module Dictator : sig
|
|
|
|
val operation:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2017-02-27 21:24:26 +04:00
|
|
|
block ->
|
2017-04-20 10:49:14 +04:00
|
|
|
branch:Block_hash.t ->
|
2017-02-27 21:24:26 +04:00
|
|
|
dictator_operation ->
|
|
|
|
MBytes.t tzresult Lwt.t
|
|
|
|
val activate:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2017-02-27 21:24:26 +04:00
|
|
|
block ->
|
2017-04-20 10:49:14 +04:00
|
|
|
branch:Block_hash.t ->
|
2017-02-27 21:24:26 +04:00
|
|
|
Protocol_hash.t ->
|
|
|
|
MBytes.t tzresult Lwt.t
|
|
|
|
val activate_testnet:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2017-02-27 21:24:26 +04:00
|
|
|
block ->
|
2017-04-20 10:49:14 +04:00
|
|
|
branch:Block_hash.t ->
|
2017-02-27 21:24:26 +04:00
|
|
|
Protocol_hash.t ->
|
|
|
|
MBytes.t tzresult Lwt.t
|
|
|
|
end
|
2016-09-08 21:13:10 +04:00
|
|
|
module Delegate : sig
|
|
|
|
val operations:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-09-08 21:13:10 +04:00
|
|
|
block ->
|
2017-04-20 10:49:14 +04:00
|
|
|
branch:Block_hash.t ->
|
2016-09-08 21:13:10 +04:00
|
|
|
source:public_key ->
|
|
|
|
delegate_operation list ->
|
|
|
|
MBytes.t tzresult Lwt.t
|
|
|
|
val endorsement:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-09-08 21:13:10 +04:00
|
|
|
block ->
|
2017-04-20 10:49:14 +04:00
|
|
|
branch:Block_hash.t ->
|
2016-09-08 21:13:10 +04:00
|
|
|
source:public_key ->
|
|
|
|
block:Block_hash.t ->
|
|
|
|
slot:int ->
|
2017-04-12 20:53:23 +04:00
|
|
|
unit -> MBytes.t tzresult Lwt.t
|
|
|
|
val proposals:
|
|
|
|
Client_rpcs.config ->
|
|
|
|
block ->
|
2017-04-20 10:49:14 +04:00
|
|
|
branch:Block_hash.t ->
|
2017-04-12 20:53:23 +04:00
|
|
|
source:public_key ->
|
|
|
|
period:Voting_period.t ->
|
2017-11-27 09:13:12 +04:00
|
|
|
proposals:Protocol_hash.t list ->
|
2017-04-12 20:53:23 +04:00
|
|
|
unit -> MBytes.t tzresult Lwt.t
|
|
|
|
val ballot:
|
|
|
|
Client_rpcs.config ->
|
|
|
|
block ->
|
2017-04-20 10:49:14 +04:00
|
|
|
branch:Block_hash.t ->
|
2017-04-12 20:53:23 +04:00
|
|
|
source:public_key ->
|
|
|
|
period:Voting_period.t ->
|
2017-11-27 09:13:12 +04:00
|
|
|
proposal:Protocol_hash.t ->
|
2017-04-12 20:53:23 +04:00
|
|
|
ballot:Vote.ballot ->
|
2016-09-08 21:13:10 +04:00
|
|
|
unit -> MBytes.t tzresult Lwt.t
|
|
|
|
end
|
|
|
|
module Anonymous : sig
|
|
|
|
val operations:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-09-08 21:13:10 +04:00
|
|
|
block ->
|
2017-04-20 10:49:14 +04:00
|
|
|
branch:Block_hash.t ->
|
2016-09-08 21:13:10 +04:00
|
|
|
anonymous_operation list ->
|
|
|
|
MBytes.t tzresult Lwt.t
|
|
|
|
val seed_nonce_revelation:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-09-08 21:13:10 +04:00
|
|
|
block ->
|
2017-04-20 10:49:14 +04:00
|
|
|
branch:Block_hash.t ->
|
2016-09-08 21:13:10 +04:00
|
|
|
level:Raw_level.t ->
|
|
|
|
nonce:Nonce.t ->
|
|
|
|
unit -> MBytes.t tzresult Lwt.t
|
2017-02-28 05:48:51 +04:00
|
|
|
val faucet:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2017-02-28 05:48:51 +04:00
|
|
|
block ->
|
2017-04-20 10:49:14 +04:00
|
|
|
branch:Block_hash.t ->
|
2017-02-28 05:48:51 +04:00
|
|
|
id:public_key_hash ->
|
2017-06-12 13:01:25 +04:00
|
|
|
unit -> MBytes.t tzresult Lwt.t
|
2016-09-08 21:13:10 +04:00
|
|
|
end
|
2017-04-27 03:01:05 +04:00
|
|
|
val block_proto_header:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2016-09-08 21:13:10 +04:00
|
|
|
block ->
|
2017-04-27 03:01:05 +04:00
|
|
|
priority: int ->
|
|
|
|
seed_nonce_hash: Nonce_hash.t ->
|
|
|
|
?proof_of_work_nonce: MBytes.t ->
|
2016-09-08 21:13:10 +04:00
|
|
|
unit -> MBytes.t tzresult Lwt.t
|
|
|
|
end
|
|
|
|
|
|
|
|
module Parse : sig
|
2017-03-30 16:31:16 +04:00
|
|
|
val operations:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2017-04-19 21:21:23 +04:00
|
|
|
block -> ?check:bool -> Operation.raw list ->
|
|
|
|
Operation.t list tzresult Lwt.t
|
2017-03-22 20:21:52 +04:00
|
|
|
val block:
|
2017-04-05 01:35:41 +04:00
|
|
|
Client_rpcs.config ->
|
2017-04-19 21:21:23 +04:00
|
|
|
block -> Block_header.shell_header -> MBytes.t ->
|
2017-04-20 17:21:10 +04:00
|
|
|
Block_header.proto_header tzresult Lwt.t
|
2016-09-08 21:13:10 +04:00
|
|
|
end
|
|
|
|
|
|
|
|
end
|