package octez-shell-libs

  1. Overview
  2. Docs
Octez shell libraries

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.1.tar.gz
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053

doc/octez-shell-libs.shell/Tezos_shell/Distributed_db/Request/index.html

Module Distributed_db.RequestSource

Sourceval current_branch : chain_db -> Tezos_base.P2p_peer.Id.t -> unit

current_branch chain_db peer sends a Get_current_branch chain_id message to peer. chain_id is the identifier for chain_db. Expected answer is a Current_branch message.

Sourceval current_head_from_peer : chain_db -> Tezos_base.P2p_peer.Id.t -> unit

current_head_from_peer chain_db peer sends a Get_Current_head chain_id to a given peer. Expected answer is a Get_current_head message.

Sourceval current_head_from_all : chain_db -> unit

current_head_from_all chain_db sends a Get_Current_head chain_id message to all known active peers for this chain. chain_id is the identifier for chain_db. Expected answer is a Get_current_head message

OCaml

Innovation. Community. Security.