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

Check that none of this transactions inputs are in the mempool, and thus the tx is not dependent on other mempool transactions to be included in a block&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f95135d20b8), requires&lowbar;capability(0x7f9501b11498), requires&lowbar;capability(0x7f950ec77688), requires&lowbar;capability(0x7f9525ea73d8), requires&lowbar;capability(0x7f9515096b18), requires&lowbar;capability(0x7f950826adb8), requires&lowbar;capability(0x7f94f856e4c8), requires&lowbar;capability(0x7f9513c586b8)&rsqb;&rsqb;
bool
HasNoInputsOf(xref:CTransaction.adoc[CTransaction] const& tx) const;
----

== Return Value

true if none of the transaction&apos;s inputs are spent by mempool transactions&period;

== Parameters

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


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