[#kernel-MemPoolLimits] = xref:kernel.adoc[kernel]::MemPoolLimits :relfileprefix: ../ :mrdocs: Options struct containing limit options for a CTxMemPool. Default constructor populates the struct with sane default values which can be modified. == Synopsis Declared in `<kernel/mempool_limits.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct MemPoolLimits; ---- == Description Most of the time, this struct should be referenced as CTxMemPool::Limits. == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:kernel/MemPoolLimits/NoLimits.adoc[`NoLimits`] | Build a limits struct that imposes no restrictions. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:kernel/MemPoolLimits/ancestor_count.adoc[`ancestor_count`] | The maximum allowed number of transactions in a package including the entry and its ancestors. | xref:kernel/MemPoolLimits/cluster_count.adoc[`cluster_count`] | The maximum number of transactions in a cluster | xref:kernel/MemPoolLimits/cluster_size_vbytes.adoc[`cluster_size_vbytes`] | The maximum allowed size in virtual bytes of a cluster. | xref:kernel/MemPoolLimits/descendant_count.adoc[`descendant_count`] | The maximum allowed number of transactions in a package including the entry and its descendants. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#