package tezos-dal-node-lib
Tezos: `tezos-dal-node` library
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65
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)"
>