CTxMemPool::GetConflictTx

Get the transaction in the pool that spends the same prevout

Synopsis

Declared in <txmempool.h>

CTransaction const*
GetConflictTx(COutPoint const& prevout) const;

Return Value

The conflicting transaction, or nullptr if none spends the outpoint.

Parameters

NameDescription
prevoutThe outpoint to look up.