get overloads

Synopses

Declared in <txmempool.h>

Return a mempool transaction with a given hash.

CTransactionRef
get(Txid const& hash) const;

Return a mempool transaction with a given witness hash.

CTransactionRef
get(Wtxid const& hash) const;

Return Value

the tx if found, otherwise nullptr

Parameters

Name

Description

hash [in]

the txid

Created with MrDocs