Make.Resource_pool
include Intf.Transaction_resource_pool_intf
with type transition_frontier := Transition_frontier.t
include Intf.Resource_pool_base_intf
with type t := t
with type transition_frontier := Transition_frontier.t
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
module Config : sig ... end
val handle_transition_frontier_diff :
transition_frontier_diff ->
t ->
unit Async_kernel.Deferred.t
Diff from a transition frontier extension that would update the resource pool
val create :
constraint_constants:Genesis_constants.Constraint_constants.t ->
consensus_constants:Consensus.Constants.t ->
time_controller:Block_time.Controller.t ->
frontier_broadcast_pipe:
Transition_frontier.t Core_kernel.Option.t Pipe_lib.Broadcast_pipe.Reader.t ->
config:Config.t ->
logger:Logger.t ->
tf_diff_writer:
( transition_frontier_diff,
Pipe_lib.Strict_pipe.synchronous,
unit Async_kernel.Deferred.t )
Pipe_lib.Strict_pipe.Writer.t ->
t
val make_config :
trust_system:Trust_system.t ->
pool_max_size:int ->
verifier:Verifier.t ->
genesis_constants:Genesis_constants.t ->
Config.t
val member :
t ->
Mina_transaction.Transaction_hash.User_command_with_valid_signature.t ->
bool
val transactions :
t ->
Mina_transaction.Transaction_hash.User_command_with_valid_signature.t
Core_kernel.Sequence.t
val all_from_account :
t ->
Mina_base.Account_id.t ->
Mina_transaction.Transaction_hash.User_command_with_valid_signature.t list
val get_all :
t ->
Mina_transaction.Transaction_hash.User_command_with_valid_signature.t list
val find_by_hash :
t ->
Mina_transaction.Transaction_hash.t ->
Mina_transaction.Transaction_hash.User_command_with_valid_signature.t option
module Diff :
Intf.Transaction_pool_diff_intf
with type resource_pool := t
and type Diff_error.t = Diff_versioned.Diff_error.t
and type Rejected.t = Diff_versioned.Rejected.t