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

Name

Description

data_dir

The node's data directory to search under.

Created with MrDocs