CTxMemPool::ChangeSet::StageAddition

Stage a transaction for addition to the mempool.

Synopsis

Declared in <txmempool.h>

TxHandle
StageAddition(
    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);

Return Value

A handle to the staged transaction.

Parameters

NameDescription
txThe transaction to add.
feeThe base fee of the transaction.
timeThe time the transaction entered the mempool.
entry_heightThe block height at entry.
entry_sequenceThe mempool sequence number at entry.
spends_coinbaseWhether the transaction spends a coinbase output.
sigops_costThe sigop cost of the transaction.
lpThe LockPoints of the transaction.