aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/walletdb.h
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2020-06-15 16:10:08 -0400
committerAndrew Chow <achow101-github@achow101.com>2020-06-15 17:36:08 -0400
commit25a655794a0c495332dadedd88b87d694c1077c2 (patch)
treefcab4b1e55e2d8018b125a83944579a702963094 /src/wallet/walletdb.h
parentf6fc5f3849bac48dfccd015bec7089cb711d0667 (diff)
walletdb: move IsWalletLoaded to walletdb.cpp
Diffstat (limited to 'src/wallet/walletdb.h')
-rw-r--r--src/wallet/walletdb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/walletdb.h b/src/wallet/walletdb.h
index b95ed24d12..74ab144177 100644
--- a/src/wallet/walletdb.h
+++ b/src/wallet/walletdb.h
@@ -289,4 +289,7 @@ void MaybeCompactWalletDB();
//! Unserialize a given Key-Value pair and load it into the wallet
bool ReadKeyValue(CWallet* pwallet, CDataStream& ssKey, CDataStream& ssValue, std::string& strType, std::string& strErr);
+/** Return whether a wallet database is currently loaded. */
+bool IsWalletLoaded(const fs::path& wallet_path);
+
#endif // BITCOIN_WALLET_WALLETDB_H