CTxMemPool::get

get overloads

Synopses

Declared in <txmempool.h>

Return a mempool transaction with a given hash.

CTransactionRef
get(Txid const& hash) const;
» more...

Return a mempool transaction with a given witness hash.

CTransactionRef
get(Wtxid const& hash) const;
» more...

Return Value

the tx if found, otherwise nullptr

Parameters

NameDescription
hash [in]the txid