Flexmasa.Test_scenario
Build and manage Network Sandboxes.
module Inconsistency_error : sig ... end
module Topology : sig ... end
Build static mavryk network topologies.
module Network : sig ... end
Start networks from (and manipulate) Topology.t
values.
module Unix_port : sig ... end
val network_with_protocol :
?do_activation:Internal_pervasives.bool ->
?node_custom_network:[ `Json of Ezjsonm.value ] ->
?external_peer_ports:Internal_pervasives.int Internal_pervasives.list ->
?base_port:Internal_pervasives.int ->
?size:Internal_pervasives.int ->
?protocol:Mavryk_protocol.t ->
?nodes_history_mode_edits:
[> `Empty_protocol_list
| Internal_pervasives.System_error.t
| Internal_pervasives.Process_result.Error.t
| Internal_pervasives.Process_result.Error.t
| `Too_many_protocols of Mavryk_protocol.t Internal_pervasives.list
| `Too_many_timestamp_delays of Mavryk_protocol.t Internal_pervasives.list
| `Waiting_for of Internal_pervasives.string * [ `Time_out ] ] as 'errors
Mavryk_node.History_modes.edit ->
< env_config : Environment_configuration.t
; paths : Paths.t
; console : Console.t
; runner : Running_processes.State.t.. >
Internal_pervasives.Base_state.t ->
node_exec:Mavryk_executable.t ->
client_exec:Mavryk_executable.t ->
(Mavryk_node.t Internal_pervasives.list * Mavryk_protocol.t, 'errors)
Internal_pervasives.Asynchronous_result.t
network_with_protocol
is a wrapper simply starting-up a Topology.mesh
. See Network.start_up
for details on some arguments.
module Queries : sig ... end
Run queries on running networks.