[#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. == Synopsis Declared in `<txmempool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7ff37b41f9b8), requires_capability(0x7ff376fd7368), requires_capability(0x7ff38def6588), requires_capability(0x7ff3640f7598), requires_capability(0x7ff3920f7888), requires_capability(0x7ff37f5c99a8), requires_capability(0x7ff37d010c28), requires_capability(0x7ff374c14438)]] bool HasNoInputsOf(xref:CTransaction.adoc[CTransaction] const& tx) const; ---- == Return Value true if none of the transaction's inputs are spent by mempool transactions. == Parameters [cols="1,4"] |=== | Name| Description | *tx* | The transaction to check. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#