2017-02-24 20:17:53 +04:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
2017-11-14 03:36:14 +04:00
|
|
|
(* Copyright (c) 2014 - 2017. *)
|
2017-02-24 20:17:53 +04:00
|
|
|
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
|
|
|
|
(* *)
|
|
|
|
(* All rights reserved. No warranty, explicit or implicit, provided. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
|
|
|
|
|
|
|
type t =
|
|
|
|
|
|
|
|
| Get_current_branch of Net_id.t
|
2017-09-29 20:43:13 +04:00
|
|
|
| Current_branch of Net_id.t * Block_locator.t
|
2017-02-24 20:17:53 +04:00
|
|
|
| Deactivate of Net_id.t
|
|
|
|
|
|
|
|
| Get_current_head of Net_id.t
|
2017-11-13 17:33:39 +04:00
|
|
|
| Current_head of Net_id.t * Block_header.t * Mempool.t
|
2017-02-24 20:17:53 +04:00
|
|
|
|
|
|
|
| Get_block_headers of Net_id.t * Block_hash.t list
|
2017-04-19 21:21:23 +04:00
|
|
|
| Block_header of Block_header.t
|
2017-02-24 20:17:53 +04:00
|
|
|
|
|
|
|
| Get_operations of Net_id.t * Operation_hash.t list
|
2017-04-19 21:21:23 +04:00
|
|
|
| Operation of Operation.t
|
2017-02-24 20:17:53 +04:00
|
|
|
|
|
|
|
| Get_protocols of Protocol_hash.t list
|
2017-04-19 21:21:23 +04:00
|
|
|
| Protocol of Protocol.t
|
2017-02-24 20:17:53 +04:00
|
|
|
|
2017-04-19 23:46:10 +04:00
|
|
|
| Get_operation_hashes_for_blocks of Net_id.t * (Block_hash.t * int) list
|
|
|
|
| Operation_hashes_for_block of
|
|
|
|
Net_id.t * Block_hash.t * int *
|
|
|
|
Operation_hash.t list * Operation_list_list_hash.path
|
|
|
|
|
|
|
|
| Get_operations_for_blocks of Net_id.t * (Block_hash.t * int) list
|
|
|
|
| Operations_for_block of
|
|
|
|
Net_id.t * Block_hash.t * int *
|
|
|
|
Operation.t list * Operation_list_list_hash.path
|
2017-03-30 15:16:21 +04:00
|
|
|
|
2017-02-24 20:17:53 +04:00
|
|
|
val cfg : t P2p.message_config
|
|
|
|
|
|
|
|
val pp_json : Format.formatter -> t -> unit
|