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(0x7fbc8f683ac8), requires_capability(0x7fbc95d45828), requires_capability(0x7fbca708b4e8), requires_capability(0x7fbc86273d88), requires_capability(0x7fbca7898468), requires_capability(0x7fbc84ab9ab8), requires_capability(0x7fbc870f8fb8), requires_capability(0x7fbc921e0878)]]
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.