CTxMemPool::exists

Returns whether a transaction with the given txid is in the mempool.

Synopsis

Declared in <txmempool.h>

bool
exists(Txid const& txid) const;

Return Value

true if the transaction exists in the mempool.

Parameters

NameDescription
txidThe txid to look up.