package octez-shell-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val 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.

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

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