Most paths passed as configuration arguments are treated as relative to the datadir if they are not absolute.
Declared in <common/args.h>
fs::path
AbsPathForConfigVal(
ArgsManager const& args,
fs::path const& path,
bool net_specific = true);
The normalized path.
| Name | Description |
|---|---|
| args | Parsed arguments and settings. |
| path | The path to be conditionally prefixed with datadir. |
| net_specific | Use network specific datadir variant |