package tezos-dal-node-lib
Tezos: `tezos-dal-node` library
Install
Dune Dependency
Authors
Maintainers
Sources
octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13
doc/tezos-dal-node-lib.gossipsub/Tezos_dal_node_lib_gossipsub/Gs_transport_connection/index.html
Module Tezos_dal_node_lib_gossipsub.Gs_transport_connection
Source
Source
val activate :
Gs_interface.Worker_instance.t ->
(Transport_layer_interface.p2p_message,
Tezos_dal_node_services.Types.P2P.Metadata.Peer.t,
Tezos_dal_node_services.Types.P2P.Metadata.Connection.t)
Tezos_p2p.P2p.t ->
app_messages_callback:
(Tezos_dal_node_services.Types.Message.t ->
Tezos_dal_node_services.Types.Message_id.t ->
unit Tezos_base.TzPervasives.tzresult Lwt.t) ->
unit Lwt.t
activate gs_worker transport_layer ~app_messages_handler
connects the given gs_worker
and transport_layer
. (Dis)connections and messages of the transport layer are forwarded to the GS worker. P2P output messages and (dis)connection requests are forwarded from the GS worker to the transport layer.
The app_messages_handler
is invoked when some application messages are put by the Gossipsub worker in the application output stream.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>