package tezos-dal-node-lib

  1. Overview
  2. Docs

The transport layer module exposes the needed primitives, interface and default parameters for the instantiation of the Octez-p2p library.

module Interface : module type of Transport_layer_interface

This module defines the data structures used to instantiate the Octez P2P library. More exactly, it exposes:

type t

create ~network_name config limits create a new instance of type t. It is a wrapper on top of P2p.activate.

val activate : ?additional_points:Tezos_base.TzPervasives.P2p_point.Id.t list -> t -> unit Lwt.t

activate ?additional_points t activates the given transport layer t. It is a wrapper on top of P2p.activate. If some additional_points are given, they are added to t's known points.

OCaml

Innovation. Community. Security.