package octez-shell-libs

  1. Overview
  2. Docs
Octez shell libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.0.tar.gz
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a

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.