package tezos-dal-node-lib

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Gossipsub.Transport_layerSource

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

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

Sourcetype t

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

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