Module T.Functions

Parameters

module C : Rpc_parallel.Creator with type worker_state := Worker_state.t and type connection_state := Connection_state.t

Signature

val perform_single : Worker_state.t -> (Mina_base.Sok_message.t * Prod.single_spec) -> (Ledger_proof.t * Core_kernel.Time.Span.t) Async.Deferred.Or_error.t
val functions : C.worker functions
val init_worker_state : Logger.t -> Worker_state.t Async.Deferred.t
val init_connection_state : connection:'a -> worker_state:'b -> unit -> unit Async.Deferred.t