wallet::ListDatabases

Recursively list database paths in directory.

Synopsis

Declared in <wallet/db.h>

std::vector<std::pair<fs::path, std::string>>
ListDatabases(fs::path const& path);

Return Value

The wallet database paths found, each paired with its format name.

Parameters

NameDescription
pathThe directory to search.