package octez-shell-libs

  1. Overview
  2. Docs
Octez shell libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65

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.