package octez-shell-libs

  1. Overview
  2. Docs
Octez shell libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.0.tar.gz
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a

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.