package tezos-dal-node-lib
Tezos: `tezos-dal-node` library
Install
Dune Dependency
Authors
Maintainers
Sources
octez-19.1.tar.gz
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053
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)"
>