aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/walletdb.h
diff options
context:
space:
mode:
authorAndrew Chow <github@achow101.com>2022-12-12 15:43:00 -0500
committerAndrew Chow <github@achow101.com>2023-05-03 10:45:10 -0400
commit14aa4cb1e44f089a6022a2b14a98bca4a7dd9a01 (patch)
tree8797a6e8f5f1ff356f7831781ed38f991b5ba674 /src/wallet/walletdb.h
parentf67a385556c60b2e4788a378196a395fca0539f5 (diff)
downloadbitcoin-14aa4cb1e44f089a6022a2b14a98bca4a7dd9a01.tar.xz
wallet: Move DummyDatabase to salvage
It's only used by salvage, so make it local to that only.
Diffstat (limited to 'src/wallet/walletdb.h')
-rw-r--r--src/wallet/walletdb.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/wallet/walletdb.h b/src/wallet/walletdb.h
index 72086e950a..b204540378 100644
--- a/src/wallet/walletdb.h
+++ b/src/wallet/walletdb.h
@@ -306,9 +306,6 @@ using KeyFilterFn = std::function<bool(const std::string&)>;
//! Unserialize a given Key-Value pair and load it into the wallet
bool ReadKeyValue(CWallet* pwallet, DataStream& ssKey, CDataStream& ssValue, std::string& strType, std::string& strErr, const KeyFilterFn& filter_fn = nullptr);
-/** Return object for accessing dummy database with no read/write capabilities. */
-std::unique_ptr<WalletDatabase> CreateDummyWalletDatabase();
-
/** Return object for accessing temporary in-memory database. */
std::unique_ptr<WalletDatabase> CreateMockWalletDatabase(DatabaseOptions& options);
std::unique_ptr<WalletDatabase> CreateMockWalletDatabase();