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

Name

Description

tx

The transaction being added.

fee

The fee the transaction paid.

vsize

The virtual transaction size in bytes.

height

The block height the transaction entered the mempool.

mempool_limit_bypassed

Whether mempool fee limits were bypassed.

submitted_in_package

Whether the transaction is part of a package.

chainstate_is_current

Whether the blockchain is up to date.

has_no_mempool_parents

Whether the transaction has no unconfirmed parents.

Created with MrDocs