CTxMemPoolEntry::CTxMemPoolEntry

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

NameDescription
txThe transaction being stored.
feeThe fee the transaction paid.
timeLocal time when the transaction entered the mempool.
entry_heightChain height when the transaction entered the mempool.
entry_sequenceSequence number used to gate the transaction for relay.
spends_coinbaseWhether the transaction spends a coinbase output.
sigops_costTotal sigop cost of the transaction.
lpLock points tracking when the transaction becomes final.