diff options
author | Andrew Chow <github@achow101.com> | 2023-05-15 16:14:43 -0400 |
---|---|---|
committer | Andrew Chow <github@achow101.com> | 2023-05-15 16:14:43 -0400 |
commit | 0282b2126dcc1216a25417db0716a3a28489b72d (patch) | |
tree | f6257580498ed000b471ba31a1fa391d19f16972 /src/wallet/walletdb.h | |
parent | d7700d3a26478d9b1648463c188648c7047b1c60 (diff) | |
download | bitcoin-0282b2126dcc1216a25417db0716a3a28489b72d.tar.xz |
walletdb: Remove unused CreateMockWalletDatabase
This has been superseded by the MockableDatabase. Remove to avoid
confusion as to which type of mock database to use for testing.
Diffstat (limited to 'src/wallet/walletdb.h')
-rw-r--r-- | src/wallet/walletdb.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/wallet/walletdb.h b/src/wallet/walletdb.h index b204540378..f84a89b23f 100644 --- a/src/wallet/walletdb.h +++ b/src/wallet/walletdb.h @@ -305,10 +305,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 temporary in-memory database. */ -std::unique_ptr<WalletDatabase> CreateMockWalletDatabase(DatabaseOptions& options); -std::unique_ptr<WalletDatabase> CreateMockWalletDatabase(); } // namespace wallet #endif // BITCOIN_WALLET_WALLETDB_H |