Module Processor.Block_and_internal_command

type t = {
block_id : int;
internal_command_id : int;
sequence_no : int;
secondary_sequence_no : int;
status : string;
failure_reason : string option;
}
val to_hlist : t -> ( unit, int -> int -> int -> int -> string -> string option -> unit ) H_list.t
val of_hlist : ( unit, int -> int -> int -> int -> string -> string option -> unit ) H_list.t -> t
val failure_reason : t -> string option
val status : t -> string
val secondary_sequence_no : t -> int
val sequence_no : t -> int
val internal_command_id : t -> int
val block_id : t -> int
module Fields : sig ... end
val table_name : string
val typ : t Caqti_type.t
val add : (module Caqti_async.CONNECTION) -> block_id:int -> internal_command_id:int -> sequence_no:int -> secondary_sequence_no:int -> status:string -> failure_reason:Mina_base.Transaction_status.Failure.t option -> ( unit, [> Caqti_error.call_or_retrieve ] ) Stdlib.result Async_kernel.Deferred.t
val find : (module Caqti_async.CONNECTION) -> block_id:int -> internal_command_id:int -> sequence_no:int -> secondary_sequence_no:int -> ( string option, [> Caqti_error.call_or_retrieve ] ) Stdlib.result Async_kernel.Deferred.t
val add_if_doesn't_exist : (module Caqti_async.CONNECTION) -> block_id:int -> internal_command_id:int -> sequence_no:int -> secondary_sequence_no:int -> status:string -> failure_reason:Mina_base.Transaction_status.Failure.t option -> ( unit, [> Caqti_error.call_or_retrieve ] ) Async_kernel__Deferred_result.t
val load : (module Caqti_async.CONNECTION) -> block_id:int -> internal_command_id:int -> sequence_no:int -> secondary_sequence_no:int -> ( t, [> Caqti_error.call_or_retrieve ] ) Stdlib.result Async_kernel.Deferred.t