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/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.