package octez-shell-libs

  1. Overview
  2. Docs
Octez shell libraries

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13

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.