CTxMemPool::HasNoInputsOf

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>

[[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(CTransaction const& tx) const;

Return Value

true if none of the transaction's inputs are spent by mempool transactions.

Parameters

NameDescription
txThe transaction to check.