Constructors
Synopses
Declared in <kernel/mempool_entry.h>
Move‐constructs a mempool entry.
constexpr
CTxMemPoolEntry(CTxMemPoolEntry&& other) = default;
Constructs a mempool entry for a transaction.
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 |
other |
The entry to move from. |
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