CTxMemPool::exists

exists overloads

Synopses

Declared in <txmempool.h>

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

bool
exists(Txid const& txid) const;
» more...

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

bool
exists(Wtxid const& wtxid) const;
» more...

Return Value

true if the transaction exists in the mempool.

Parameters

NameDescription
txidThe txid to look up.
wtxidThe wtxid to look up.