Constructs a mempool entry for a transaction.
Synopsis
Declared in <kernel/mempool_entry.h>
CTxMemPoolEntry(
CTransactionRef const& tx,
CAmount fee,
int64_t time,
unsigned int entry_height,
uint64_t entry_sequence,
bool spends_coinbase,
int64_t sigops_cost,
LockPoints lp);
Parameters
Name |
Description |
tx |
The transaction being stored. |
fee |
The fee the transaction paid. |
time |
Local time when the transaction entered the mempool. |
entry_height |
Chain height when the transaction entered the mempool. |
entry_sequence |
Sequence number used to gate the transaction for relay. |
spends_coinbase |
Whether the transaction spends a coinbase output. |
sigops_cost |
Total sigop cost of the transaction. |
lp |
Lock points tracking when the transaction becomes final. |
Created with MrDocs