[#CTxMemPool-CheckPolicyLimits]
= xref:CTxMemPool.adoc[CTxMemPool]::CheckPolicyLimits
:relfileprefix: ../
:mrdocs:

Check whether the given transaction would satisfy the mempool&apos;s cluster policy limits&period;

== Synopsis

Declared in `&lt;txmempool&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
CheckPolicyLimits(xref:CTransactionRef.adoc[CTransactionRef] const& tx);
----

== Return Value

true if the transaction passes the policy limits&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *tx*
| The transaction to test&period;
|===


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