Tunable options controlling memory‐pool acceptance and limits.

Synopsis

Declared in <kernel/mempool_options.h>

struct MemPoolOptions;

Data Members

Name

Description

check_ratio

The ratio used to determine how often sanity checks will run.

dust_relay_feerate

Fee rate below which an output is considered dust.

expiry

How long a transaction may stay in the mempool before it expires.

incremental_relay_feerate

Minimum fee rate increment for replace‐by‐fee and relay.

limits

Ancestor and descendant count and size limits for the mempool.

max_datacarrier_bytes

A data carrying output is an unspendable output containing data. The script type is designated as TxoutType::NULL_DATA.

max_size_bytes

Maximum mempool memory usage, in bytes.

min_relay_feerate

A fee rate smaller than this is considered zero fee (for relaying, mining and transaction creation)

permit_bare_multisig

Whether bare multisig outputs are relayed as standard.

persist_v1_dat

Whether to write mempool.dat using the legacy V1 serialization.

require_standard

Whether to enforce standardness rules on accepted transactions.

signals

Sink for validation event notifications, or null if unused.

Created with MrDocs