node::FindAssumeutxoChainstateDir

Return a path to the snapshot-based chainstate dir, if one exists.

Synopsis

Declared in <node/utxo_snapshot.h>

std::optional<fs::path>
FindAssumeutxoChainstateDir(fs::path const& data_dir);

Return Value

The path to the assumeutxo chainstate directory, or std::nullopt if none exists.

Parameters

NameDescription
data_dirThe node's data directory to search under.