[#wallet-CCoinControl-m_max_tx_weight]
= xref:wallet.adoc[wallet]::xref:wallet/CCoinControl.adoc[CCoinControl]::m&lowbar;max&lowbar;tx&lowbar;weight
:relfileprefix: ../../
:mrdocs:

Caps weight of resulting tx

== Synopsis

Declared in `&lt;wallet&sol;coincontrol&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::optional&lt;int&gt; m&lowbar;max&lowbar;tx&lowbar;weight = &lcub;std&colon;&colon;nullopt&rcub;;
----


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