Function call operators
Synopses
Declared in <txmempool.h>
Returns the wtxid of the given transaction.
result_type
operator()(CTransactionRef const& tx) const;
Returns the wtxid of the given mempool entry.
result_type
operator()(CTxMemPoolEntry const& entry) const;
Return Value
-
The witness hash (wtxid) of the transaction.
-
The witness hash (wtxid) of the entry's transaction.
Parameters
Name |
Description |
tx |
The transaction to hash. |
entry |
The mempool entry to read the transaction from. |
Created with MrDocs