package octez-shell-libs

  1. Overview
  2. Docs
Octez shell libraries

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13

doc/octez-shell-libs.p2p/Tezos_p2p/index.html

Module Tezos_p2pSource

Sourcemodule P2p : sig ... end

Tezos P2p layer - Dynamic overlay network of authenticated peers.

Sourcemodule P2p_acl : sig ... end

This module implements four Access Control Lists:

Sourcemodule P2p_answerer : sig ... end

An Answerer.t is a set of callback functions, parameterized by conn_info record. The conn_info records contains values useful for the callback functions to perform their task, and known after the connection is set up.

Sourcemodule P2p_buffer_reader : sig ... end

This module takes care of reading data from a readable into a buffer.

Sourcemodule P2p_conn : sig ... end

Type of a connection to a peer, parametrized by the type of messages exchanged as well as meta-information associated to a peer and a connection. It wraps a P2p_socket.t, adding meta-information and data-structures describing a more fine-grained logical state of the connection. It also set up an answering worker that responds to the messages P2p_message.t using the callback functions of a P2p_answerer.t.

Sourcemodule P2p_connect_handler : sig ... end

This module manages incoming accept and outgoing connections connect.

Sourcemodule P2p_directory : sig ... end
Sourcemodule P2p_disconnection_reason : sig ... end
Sourcemodule P2p_discovery : sig ... end

Local peer discovery.

Sourcemodule P2p_events : sig ... end
Sourcemodule P2p_fd : sig ... end
Sourcemodule P2p_io_scheduler : sig ... end

Scheduling of I/O operations over file descriptors.

Sourcemodule P2p_maintenance : sig ... end

P2P maintenance worker.

Sourcemodule P2p_message : sig ... end

This module defines the messages of the P2p layers.

Sourcemodule P2p_metrics : sig ... end
Sourcemodule P2p_metrics_collectors : sig ... end
Sourcemodule P2p_peer_state : sig ... end
Sourcemodule P2p_point_state : sig ... end
Sourcemodule P2p_pool : sig ... end

This module maintains several pools of points/peers needed by the P2P layer.

Sourcemodule P2p_protocol : sig ... end

This module defines constructor for the private and default P2p_answerer.t. Both pass messages `Message msg` to the upper-layer. The private answerer ignore all other messages.

Sourcemodule P2p_socket : sig ... end

Typed and encrypted connections to peers.

Sourcemodule P2p_trigger : sig ... end

This module defines some condition values for inter modules synchronization.

Sourcemodule P2p_welcome : sig ... end

Welcome worker.

OCaml

Innovation. Community. Security.