MempoolAcceptResult::Success

Build a result for a transaction that was successfully accepted into the mempool.

Synopsis

Declared in <validation.h>

static
MempoolAcceptResult
Success(
    std::list<CTransactionRef>&& replaced_txns,
    int64_t vsize,
    CAmount fees,
    CFeeRate effective_feerate,
    std::vector<Wtxid> const& wtxids_fee_calculations);

Return Value

A VALID result describing the accepted transaction.

Parameters

NameDescription
replaced_txnsMempool transactions replaced by the accepted transaction.
vsizeVirtual size of the transaction as used by the mempool.
feesRaw base fees of the transaction, in satoshis.
effective_feerateThe feerate at which the transaction was considered.
wtxids_fee_calculationsWtxids of the transactions used for fee-related checks.