[#kernel-MemPoolOptions]
= xref:kernel.adoc[kernel]::MemPoolOptions
:relfileprefix: ../
:mrdocs:

Tunable options controlling memory&hyphen;pool acceptance and limits&period;

== Synopsis

Declared in `&lt;kernel&sol;mempool&lowbar;options&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct MemPoolOptions;
----

== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:kernel/MemPoolOptions/check_ratio.adoc[`check&lowbar;ratio`] 
| The ratio used to determine how often sanity checks will run&period;
| xref:kernel/MemPoolOptions/dust_relay_feerate.adoc[`dust&lowbar;relay&lowbar;feerate`] 
| Fee rate below which an output is considered dust&period;
| xref:kernel/MemPoolOptions/expiry.adoc[`expiry`] 
| How long a transaction may stay in the mempool before it expires&period;
| xref:kernel/MemPoolOptions/incremental_relay_feerate.adoc[`incremental&lowbar;relay&lowbar;feerate`] 
| Minimum fee rate increment for replace&hyphen;by&hyphen;fee and relay&period;
| xref:kernel/MemPoolOptions/limits.adoc[`limits`] 
| Ancestor and descendant count and size limits for the mempool&period;
| xref:kernel/MemPoolOptions/max_datacarrier_bytes.adoc[`max&lowbar;datacarrier&lowbar;bytes`] 
| A data carrying output is an unspendable output containing data&period; The script type is designated as TxoutType&colon;&colon;NULL&lowbar;DATA&period;
| xref:kernel/MemPoolOptions/max_size_bytes.adoc[`max&lowbar;size&lowbar;bytes`] 
| Maximum mempool memory usage, in bytes&period;
| xref:kernel/MemPoolOptions/min_relay_feerate.adoc[`min&lowbar;relay&lowbar;feerate`] 
| A fee rate smaller than this is considered zero fee (for relaying, mining and transaction creation)
| xref:kernel/MemPoolOptions/permit_bare_multisig.adoc[`permit&lowbar;bare&lowbar;multisig`] 
| Whether bare multisig outputs are relayed as standard&period;
| xref:kernel/MemPoolOptions/persist_v1_dat.adoc[`persist&lowbar;v1&lowbar;dat`] 
| Whether to write mempool&period;dat using the legacy V1 serialization&period;
| xref:kernel/MemPoolOptions/require_standard.adoc[`require&lowbar;standard`] 
| Whether to enforce standardness rules on accepted transactions&period;
| xref:kernel/MemPoolOptions/signals.adoc[`signals`] 
| Sink for validation event notifications, or null if unused&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
