Mavryk_shell.Distributed_db_message
Mavryk Shell - Network message for the gossip P2P protocol.
type t =
| Get_current_branch of Mavryk_base.TzPervasives.Chain_id.t
| Current_branch of Mavryk_base.TzPervasives.Chain_id.t
* Mavryk_base.Block_locator.t
| Deactivate of Mavryk_base.TzPervasives.Chain_id.t
| Get_current_head of Mavryk_base.TzPervasives.Chain_id.t
| Current_head of Mavryk_base.TzPervasives.Chain_id.t
* Mavryk_base.Block_header.t
* Mavryk_base.Mempool.t
| Get_block_headers of Mavryk_base.TzPervasives.Block_hash.t list
| Block_header of Mavryk_base.Block_header.t
| Get_operations of Mavryk_base.TzPervasives.Operation_hash.t list
| Operation of Mavryk_base.Operation.t
| Get_protocols of Mavryk_base.TzPervasives.Protocol_hash.t list
| Protocol of Mavryk_base.Protocol.t
| Get_operations_for_blocks of (Mavryk_base.TzPervasives.Block_hash.t * int) list
| Operations_for_block of Mavryk_base.TzPervasives.Block_hash.t
* int
* Mavryk_base.Operation.t list
* Mavryk_base.TzPervasives.Operation_list_list_hash.path
| Get_checkpoint of Mavryk_base.TzPervasives.Chain_id.t
| Checkpoint of Mavryk_base.TzPervasives.Chain_id.t * Mavryk_base.Block_header.t
| Get_protocol_branch of Mavryk_base.TzPervasives.Chain_id.t * int
| Protocol_branch of Mavryk_base.TzPervasives.Chain_id.t
* int
* Mavryk_base.Block_locator.t
| Get_predecessor_header of Mavryk_base.TzPervasives.Block_hash.t * int32
| Predecessor_header of Mavryk_base.TzPervasives.Block_hash.t
* int32
* Mavryk_base.Block_header.t
We must make sure that we are able to associate a response to the corresponding request. Thus, we are able to discrimate between expected responses from the unexpected ones.
val encoding : t Mavryk_base.P2p_params.app_message_encoding list
val distributed_db_versions : Mavryk_base.Distributed_db_version.t list
val pp_json : Stdlib.Format.formatter -> t -> unit
module Bounded_encoding : sig ... end