mempoolentry_txid::operator()

Function call operators

Synopses

Declared in <txmempool.h>

Returns the txid of the given transaction.

result_type
operator()(CTransactionRef const& tx) const;
» more...

Returns the txid of the given mempool entry.

result_type
operator()(CTxMemPoolEntry const& entry) const;
» more...

Return Value

  • The txid of the transaction.
  • The txid of the entry's transaction.

Parameters

NameDescription
txThe transaction to hash.
entryThe mempool entry to read the transaction from.