package octez-shell-libs
Octez shell libraries
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65
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)"
>