CTxMemPool::get

Return a mempool transaction with a given witness hash.

Synopsis

Declared in <txmempool.h>

CTransactionRef
get(Wtxid const& hash) const;

Return Value

the tx if found, otherwise nullptr

Parameters

NameDescription
hash [in]the wtxid