package octez-shell-libs
Octez shell libraries
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-18.1.tar.gz
sha256=aa2f5bc99cc4ca2217c52a1af2a2cdfd3b383208cb859ca2e79ca0903396ca1d
sha512=d68bb3eb615e3dcccc845fddfc9901c95b3c6dc8e105e39522ce97637b1308a7fa7aa1d271351d5933febd7476b2819e1694f31198f1f0919681f1f9cc97cb3a
doc/octez-shell-libs.p2p/Tezos_p2p/P2p_welcome/index.html
Module Tezos_p2p.P2p_welcome
Source
Welcome worker.
Accept incoming connections and add them to the pool.
Type of a welcome worker.
Source
val create :
?reuse_port:bool ->
?addr:Tezos_base.TzPervasives.P2p_addr.t ->
backlog:int ->
('msg, 'meta, 'meta_conn) P2p_connect_handler.t ->
Tezos_base.TzPervasives.P2p_addr.port ->
t Tezos_base.TzPervasives.tzresult Lwt.t
create ?reuse_port ?addr ~backlog pool port
returns a running welcome worker adding connections into pool
listening on addr:port
. backlog
is passed to Lwt_unix.listen
.
reuse_port
should be used for testing purposes. This option sets SO_REUSEPORT
on the socket, allowing to reuse a port opened elsewhere.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>