Resource_pool.Difftype t = Mina_base.User_command.t listval to_yojson : t -> Yojson.Safe.tval of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_orval t_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> tval sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.ttype _unused = unit constraint t = Diff_versioned.tmodule Diff_error : sig ... endmodule Rejected : sig ... endtype rejected = Rejected.tval rejected_to_yojson : rejected -> Yojson.Safe.tval rejected_of_yojson :
Yojson.Safe.t ->
rejected Ppx_deriving_yojson_runtime.error_orval rejected_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> rejectedval sexp_of_rejected : rejected -> Ppx_sexp_conv_lib.Sexp.ttype verified = Diff_versioned.verifiedval verified_to_yojson : verified -> Yojson.Safe.tval _ : verified -> Yojson.Safe.tval verified_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> verifiedval sexp_of_verified : verified -> Ppx_sexp_conv_lib.Sexp.tval log_and_punish :
?punish:bool ->
t ->
'a Network_peer.Envelope.Incoming.t ->
Base.Error.t ->
unit Async_kernel.Deferred.tval of_indexed_pool_error :
Indexed_pool.Command_error.t ->
Diff_versioned.Diff_error.t * (string * Yojson.Safe.t) listval report_command_error :
logger:Logger__Impl.Stable.V1.t ->
is_sender_local:bool ->
Mina_base.User_command.t ->
Indexed_pool.Command_error.t ->
unitval verify :
pool ->
t Network_peer.Envelope.Incoming.t ->
verified Network_peer.Envelope.Incoming.t Async.Deferred.Or_error.tval register_locally_generated :
t ->
Mina_transaction.Transaction_hash.User_command_with_valid_signature.t
Core.Hashtbl.key ->
unitval apply :
t ->
verified Network_peer.Envelope.Incoming.t ->
([> `Accept | `Reject ]
* Mina_transaction.Transaction_hash.User_command_with_valid_signature.t list
* (Mina_transaction.Transaction_hash.User_command_with_valid_signature.t
* Diff_error.t)
list)
Base__Or_error.tval unsafe_apply' :
pool ->
verified Network_peer.Envelope.Incoming.t ->
( [ `Accept | `Reject ] * t * rejected, [> `Other of Base__.Error.t ] )
Core.Result.tval unsafe_apply :
pool ->
verified Network_peer.Envelope.Incoming.t ->
( [ `Accept | `Reject ] * t * rejected, [> `Other of Base__.Error.t ] )
Core.Result.t
Async.Deferred.ttype Structured_log_events.t += | Transactions_received of {
} |
val transactions_received_structured_events_id : Structured_log_events.idval transactions_received_structured_events_repr : Structured_log_events.reprval update_metrics :
t Network_peer.Envelope.Incoming.t ->
Mina_net2.Validation_callback.t ->
Logger__Impl.Stable.V1.t option ->
unit