Apply chainstate‐manager options taken from the argument manager.

Synopsis

Declared in <node/chainstatemanager_args.h>

[[nodiscard]]
util::Result<void>
ApplyArgsManOptions(
    ArgsManager const& args,
    ChainstateManager::Options& opts);

Return Value

An empty result on success, or an error describing the invalid option.

Note

The return value should not be discarded.

Parameters

Name

Description

args

Argument manager holding the parsed settings.

opts

Chainstate manager options to populate from args.

Created with MrDocs