NewMempoolTransactionInfo::NewMempoolTransactionInfo

Builds the addition payload for a newly accepted transaction.

Synopsis

Declared in <kernel/mempool_entry.h>

explicit
NewMempoolTransactionInfo(
    CTransactionRef const& tx,
    CAmount const& fee,
    int64_t const vsize,
    unsigned int const height,
    bool const mempool_limit_bypassed,
    bool const submitted_in_package,
    bool const chainstate_is_current,
    bool const has_no_mempool_parents);

Parameters

NameDescription
txThe transaction being added.
feeThe fee the transaction paid.
vsizeThe virtual transaction size in bytes.
heightThe block height the transaction entered the mempool.
mempool_limit_bypassedWhether mempool fee limits were bypassed.
submitted_in_packageWhether the transaction is part of a package.
chainstate_is_currentWhether the blockchain is up to date.
has_no_mempool_parentsWhether the transaction has no unconfirmed parents.