diff options
author | Andrew Chow <achow101-github@achow101.com> | 2020-05-26 20:54:05 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2020-10-14 11:28:18 -0400 |
commit | ac38a87225be0f1103ff9629d63980550d2f372b (patch) | |
tree | a985380a416f93c7c2f07ae101079cbb351dbbdc /src/wallet/sqlite.h | |
parent | 6045f77003f167bee9a85e2d53f8fc6ff2e297d8 (diff) | |
download | bitcoin-ac38a87225be0f1103ff9629d63980550d2f372b.tar.xz |
Determine wallet file type based on file magic
Diffstat (limited to 'src/wallet/sqlite.h')
-rw-r--r-- | src/wallet/sqlite.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/sqlite.h b/src/wallet/sqlite.h index c6a3f7f503..5e5e93903b 100644 --- a/src/wallet/sqlite.h +++ b/src/wallet/sqlite.h @@ -116,5 +116,6 @@ bool ExistsSQLiteDatabase(const fs::path& path); std::unique_ptr<SQLiteDatabase> MakeSQLiteDatabase(const fs::path& path, const DatabaseOptions& options, DatabaseStatus& status, bilingual_str& error); std::string SQLiteDatabaseVersion(); +bool IsSQLiteFile(const fs::path& path); #endif // BITCOIN_WALLET_SQLITE_H |