Wait_condition.Makemodule Engine : Intf.Engine.Smodule Event_router : Intf.Dsl.Event_router_intf with module Engine := Enginemodule Network_state :
Intf.Dsl.Network_state_intf
with module Engine := Engine
and module Event_router := Event_routertype predicate = | Network_state_predicate : ( Network_state.t ->
'a predicate_result )
* ( 'a ->
Network_state.t ->
'a predicate_result ) -> predicate |
| Event_predicate : 'b Event_type.t
* 'a
* ( 'a ->
Engine.Network.Node.t ->
'b ->
'a predicate_result ) -> predicate |
type t = {id : wait_condition_id; |
description : string; |
predicate : predicate; |
soft_timeout : Network_time_span.t; |
hard_timeout : Network_time_span.t; |
}include Intf.Dsl.Wait_condition_intf
with type t := t
and module Engine := Engine
and type wait_condition_id := wait_condition_id
and module Event_router := Event_router
and module Network_state := Network_stateval wait_condition_id : t -> wait_condition_idval with_timeouts :
?soft_timeout:Network_time_span.t ->
?hard_timeout:Network_time_span.t ->
t ->
tval node_to_initialize : Engine.Network.Node.t -> tval nodes_to_initialize : Engine.Network.Node.t list -> tval blocks_to_be_produced : int -> tval block_height_growth : height_growth:int -> tval nodes_to_synchronize : Engine.Network.Node.t list -> tval signed_command_to_be_included_in_frontier :
txn_hash:Mina_transaction.Transaction_hash.t ->
node_included_in:[ `Any_node | `Node of Engine.Network.Node.t ] ->
tval ledger_proofs_emitted_since_genesis : num_proofs:int -> tval zkapp_to_be_included_in_frontier :
has_failures:bool ->
zkapp_command:Mina_base.Zkapp_command.t ->
tval persisted_frontier_loaded : Engine.Network.Node.t -> t