[#node-BlockCreateOptions-block_max_weight]
= xref:node.adoc[node]::xref:node/BlockCreateOptions.adoc[BlockCreateOptions]::block&lowbar;max&lowbar;weight
:relfileprefix: ../../
:mrdocs:

Maximum block weight, defaults to &hyphen;maxblockweight

== Synopsis

Declared in `&lt;node&sol;mining&lowbar;types&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::optional&lt;uint64&lowbar;t&gt; block&lowbar;max&lowbar;weight = &lcub;&rcub;;
----

== Description

Must not be lower than block&lowbar;reserved&lowbar;weight&period; Setting this equal to block&lowbar;reserved&lowbar;weight leaves no room for non&hyphen;coinbase transactions&period;


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