Build a result for a transaction that was successfully accepted into the mempool.
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);
A VALID result describing the accepted transaction.
| Name | Description |
|---|---|
| replaced_txns | Mempool transactions replaced by the accepted transaction. |
| vsize | Virtual size of the transaction as used by the mempool. |
| fees | Raw base fees of the transaction, in satoshis. |
| effective_feerate | The feerate at which the transaction was considered. |
| wtxids_fee_calculations | Wtxids of the transactions used for fee-related checks. |