Read the mining options set in args. Returns an error if one was encountered.
Declared in <node/mining_args.h>
[[nodiscard]]
util::Result<BlockCreateOptions>
ReadMiningArgs(ArgsManager const& args);
The block-creation options on success, or an error on failure.
The return value should not be discarded.
| Name | Description |
|---|---|
| args | Argument manager holding the parsed settings. |