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(0x7f95135d20b8), requires_capability(0x7f9501b11498), requires_capability(0x7f950ec77688), requires_capability(0x7f9525ea73d8), requires_capability(0x7f9515096b18), requires_capability(0x7f950826adb8), requires_capability(0x7f94f856e4c8), requires_capability(0x7f9513c586b8)]]
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.