aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/walletdb.h
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2022-04-13 15:34:23 -0400
committerAndrew Chow <github@achow101.com>2023-06-19 11:35:15 -0400
commit3ccde4599b5150577400c4fa9029f4146617f751 (patch)
tree59a3b42947725cea56dc50eef5d53f5f94d91586 /src/wallet/walletdb.h
parent7be10adff36c0dc49ae56ac571bb033cba7a565b (diff)
downloadbitcoin-3ccde4599b5150577400c4fa9029f4146617f751.tar.xz
walletdb: Refactor crypted key loading to its own function
Diffstat (limited to 'src/wallet/walletdb.h')
-rw-r--r--src/wallet/walletdb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/walletdb.h b/src/wallet/walletdb.h
index 4228d428fa..86b92e5f35 100644
--- a/src/wallet/walletdb.h
+++ b/src/wallet/walletdb.h
@@ -307,6 +307,7 @@ using KeyFilterFn = std::function<bool(const std::string&)>;
bool ReadKeyValue(CWallet* pwallet, DataStream& ssKey, CDataStream& ssValue, std::string& strType, std::string& strErr, const KeyFilterFn& filter_fn = nullptr);
bool LoadKey(CWallet* pwallet, DataStream& ssKey, DataStream& ssValue, std::string& strErr);
+bool LoadCryptedKey(CWallet* pwallet, DataStream& ssKey, DataStream& ssValue, std::string& strErr);
} // namespace wallet
#endif // BITCOIN_WALLET_WALLETDB_H