Replace null optional values with their hardcoded defaults.
Declared in <node/mining_args.h>
[[nodiscard]]
BlockCreateOptions
FlattenMiningOptions(BlockCreateOptions options);
A copy of options with every null field replaced by its default.
The return value should not be discarded.
| Name | Description |
|---|---|
| options | The block-creation options to fill in. |