Merge two BlockCreateOptions structs, replacing null values in x with non‐null values from y.

Synopsis

Declared in <node/mining_args.h>

[[nodiscard]]
BlockCreateOptions
MergeMiningOptions(
    BlockCreateOptions x,
    BlockCreateOptions const& y);

Return Value

The merged block‐creation options.

Note

The return value should not be discarded.

Parameters

Name

Description

x

The base options whose null fields are filled in.

y

The options supplying values for the null fields of x.

Created with MrDocs