[#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(0x7fb95f555b18), requires_capability(0x7fb968bc7228), requires_capability(0x7fb95fdd1068), requires_capability(0x7fb978b76428), requires_capability(0x7fb96b8fb988), requires_capability(0x7fb96e5c2458), requires_capability(0x7fb97a07c488), requires_capability(0x7fb96be441d8)]] 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]#