package tezos-dal-node-lib
Tezos: `tezos-dal-node` library
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-18.1.tar.gz
sha256=aa2f5bc99cc4ca2217c52a1af2a2cdfd3b383208cb859ca2e79ca0903396ca1d
sha512=d68bb3eb615e3dcccc845fddfc9901c95b3c6dc8e105e39522ce97637b1308a7fa7aa1d271351d5933febd7476b2819e1694f31198f1f0919681f1f9cc97cb3a
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,
Transport_layer_interface.peer_metadata,
Transport_layer_interface.connection_metadata)
Tezos_p2p.P2p.t ->
app_messages_callback:
(Gs_interface.message ->
Gs_interface.message_id ->
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)"
>