CTxMemPoolEntry::CTxMemPoolEntry

Constructors

Synopses

Declared in <kernel/mempool_entry.h>

Move-constructs a mempool entry.

constexpr
CTxMemPoolEntry(CTxMemPoolEntry&& other) = default;
» more...

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);
» more...

Parameters

NameDescription
otherThe entry to move from.
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.