[#node-MergeMiningOptions] = xref:node.adoc[node]::MergeMiningOptions :relfileprefix: ../ :mrdocs: Merge two BlockCreateOptions structs, replacing null values in `x` with non‐null values from `y.` == Synopsis Declared in `<node/mining_args.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] xref:node/BlockCreateOptions.adoc[BlockCreateOptions] MergeMiningOptions( xref:node/BlockCreateOptions.adoc[BlockCreateOptions] x, xref:node/BlockCreateOptions.adoc[BlockCreateOptions] const& y); ---- == Return Value The merged block‐creation options. [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *x* | The base options whose null fields are filled in. | *y* | The options supplying values for the null fields of `x.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#