P2p_maintenance.Internal_for_tests
enable or disable maintenance triggers. For tests only
val 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:(Mavryk_base.TzPervasives.P2p_connection.P2p_event.t -> unit) ->
('msg, 'meta, 'meta_conn) t
val activate :
?rng:Stdlib.Random.State.t ->
('msg, 'meta, 'meta_conn) t ->
unit