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_protocol/index.html
Module Tezos_p2p.P2p_protocol
Source
This module defines constructor for the private and default P2p_answerer.t
. Both pass messages `Message msg
` to the upper-layer. The private answerer ignore all other messages.
Source
type ('msg, 'peer, 'conn) config = {
swap_linger : Tezos_base.TzPervasives.Time.System.Span.t option;
(*Peer swapping does not occur more than once during a timespan of
*)swap_linger
. If None, the swap mechanism is disabled.pool : ('msg, 'peer, 'conn) P2p_pool.t;
log : Tezos_base.TzPervasives.P2p_connection.P2p_event.t -> unit;
connect : Tezos_base.TzPervasives.P2p_point.Id.t -> ('msg, 'peer, 'conn) P2p_conn.t Tezos_base.TzPervasives.tzresult Lwt.t;
mutable latest_accepted_swap : Tezos_base.TzPervasives.Time.System.t;
mutable latest_successful_swap : Tezos_base.TzPervasives.Time.System.t;
}
The config
type contains "global" values and configuration option used by the default answerer, known when setting up the connection handler in P2p
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>