package octez-shell-libs

  1. Overview
  2. Docs
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_maintenance/Internal_for_tests/index.html

Module P2p_maintenance.Internal_for_testsSource

enable or disable maintenance triggers. For tests only

Sourcetype test_config = {
  1. trigger_swap : bool;
  2. trigger_too_few_connections : bool;
  3. trigger_too_many_connections : bool;
}
Sourceval create : ?discovery:P2p_discovery.t -> config -> ?debug_config:test_config -> ('msg, 'meta, 'meta_conn) P2p_pool.t -> ('msg, 'meta, 'meta_conn) P2p_connect_handler.t -> P2p_trigger.t -> log:(Tezos_base.TzPervasives.P2p_connection.P2p_event.t -> unit) -> ('msg, 'meta, 'meta_conn) t
Sourceval activate : ?rng:Random.State.t -> ('msg, 'meta, 'meta_conn) t -> unit
OCaml

Innovation. Community. Security.