Processor.Block_and_signed_command
val failure_reason : t -> string option
val status : t -> string
val sequence_no : t -> int
val user_command_id : t -> int
val block_id : t -> int
module Fields : sig ... end
val typ : t Caqti_type.t
val add :
(module Caqti_async.CONNECTION) ->
block_id:int ->
user_command_id:int ->
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 add_with_status :
(module Caqti_async.CONNECTION) ->
block_id:int ->
user_command_id:int ->
sequence_no:int ->
status:Mina_base.Transaction_status.t ->
( unit, [> Caqti_error.call_or_retrieve ] ) Stdlib.result
Async_kernel.Deferred.t
val add_if_doesn't_exist :
(module Caqti_async.CONNECTION) ->
block_id:int ->
user_command_id:int ->
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 ->
user_command_id:int ->
sequence_no:int ->
( t, [> Caqti_error.call_or_retrieve ] ) Stdlib.result
Async_kernel.Deferred.t