[#kernel-MemPoolOptions-max_datacarrier_bytes]
= xref:kernel.adoc[kernel]::xref:kernel/MemPoolOptions.adoc[MemPoolOptions]::max&lowbar;datacarrier&lowbar;bytes
:relfileprefix: ../../
:mrdocs:

A data carrying output is an unspendable output containing data&period; The script type is designated as TxoutType&colon;&colon;NULL&lowbar;DATA&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::optional&lt;unsigned int&gt; max&lowbar;datacarrier&lowbar;bytes = &lcub;DEFAULT&lowbar;ACCEPT&lowbar;DATACARRIER ? std&colon;&colon;optional&lcub;MAX&lowbar;OP&lowbar;RETURN&lowbar;RELAY&rcub; &colon; std&colon;&colon;nullopt&rcub;;
----

== Description

Maximum size of TxoutType&colon;&colon;NULL&lowbar;DATA scripts that this node considers standard&period; If nullopt, any size is nonstandard&period;


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