[#kernel-MemPoolLimits]
= xref:kernel.adoc[kernel]::MemPoolLimits
:relfileprefix: ../
:mrdocs:

Options struct containing limit options for a CTxMemPool&period; Default constructor populates the struct with sane default values which can be modified&period;

== Synopsis

Declared in `&lt;kernel&sol;mempool&lowbar;limits&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct MemPoolLimits;
----

== Description

Most of the time, this struct should be referenced as CTxMemPool&colon;&colon;Limits&period;

== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:kernel/MemPoolLimits/NoLimits.adoc[`NoLimits`] 
| Build a limits struct that imposes no restrictions&period;
|===


== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:kernel/MemPoolLimits/ancestor_count.adoc[`ancestor&lowbar;count`] 
| The maximum allowed number of transactions in a package including the entry and its ancestors&period;
| xref:kernel/MemPoolLimits/cluster_count.adoc[`cluster&lowbar;count`] 
| The maximum number of transactions in a cluster
| xref:kernel/MemPoolLimits/cluster_size_vbytes.adoc[`cluster&lowbar;size&lowbar;vbytes`] 
| The maximum allowed size in virtual bytes of a cluster&period;
| xref:kernel/MemPoolLimits/descendant_count.adoc[`descendant&lowbar;count`] 
| The maximum allowed number of transactions in a package including the entry and its descendants&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
