package octez-shell-libs

  1. Overview
  2. Docs
Octez shell libraries

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13

doc/octez-shell-libs.shell/Tezos_shell/Distributed_db_message/index.html

Module Tezos_shell.Distributed_db_messageSource

Tezos Shell - Network message for the gossip P2P protocol.

Sourcetype t =
  1. | Get_current_branch of Tezos_base.TzPervasives.Chain_id.t
  2. | Current_branch of Tezos_base.TzPervasives.Chain_id.t * Tezos_base.Block_locator.t
  3. | Deactivate of Tezos_base.TzPervasives.Chain_id.t
  4. | Get_current_head of Tezos_base.TzPervasives.Chain_id.t
  5. | Current_head of Tezos_base.TzPervasives.Chain_id.t * Tezos_base.Block_header.t * Tezos_base.Mempool.t
  6. | Get_block_headers of Tezos_base.TzPervasives.Block_hash.t list
  7. | Block_header of Tezos_base.Block_header.t
  8. | Get_operations of Tezos_base.TzPervasives.Operation_hash.t list
  9. | Operation of Tezos_base.Operation.t
  10. | Get_protocols of Tezos_base.TzPervasives.Protocol_hash.t list
  11. | Protocol of Tezos_base.Protocol.t
  12. | Get_operations_for_blocks of (Tezos_base.TzPervasives.Block_hash.t * int) list
  13. | Operations_for_block of Tezos_base.TzPervasives.Block_hash.t * int * Tezos_base.Operation.t list * Tezos_base.TzPervasives.Operation_list_list_hash.path
  14. | Get_checkpoint of Tezos_base.TzPervasives.Chain_id.t
  15. | Checkpoint of Tezos_base.TzPervasives.Chain_id.t * Tezos_base.Block_header.t
  16. | Get_protocol_branch of Tezos_base.TzPervasives.Chain_id.t * int
  17. | Protocol_branch of Tezos_base.TzPervasives.Chain_id.t * int * Tezos_base.Block_locator.t
  18. | Get_predecessor_header of Tezos_base.TzPervasives.Block_hash.t * int32
  19. | Predecessor_header of Tezos_base.TzPervasives.Block_hash.t * int32 * Tezos_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.

Sourceval distributed_db_versions : Tezos_base.Distributed_db_version.t list
Sourceval pp_json : Format.formatter -> t -> unit
Sourcemodule Bounded_encoding : sig ... end
OCaml

Innovation. Community. Security.