aboutsummaryrefslogtreecommitdiff
path: root/src/dummywallet.cpp
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2021-12-22 13:44:55 -0500
committerRussell Yanofsky <russ@yanofsky.org>2021-12-22 13:44:55 -0500
commitff5f6dea5336075d1a6cace1112be3252d97540b (patch)
treee0faca531b734898819ad03ed0b06332229dd4aa /src/dummywallet.cpp
parent63b5dfac21613b984803347bfe81454da667016e (diff)
downloadbitcoin-ff5f6dea5336075d1a6cace1112be3252d97540b.tar.xz
scripted-diff: Rename interfaces::WalletClient to interfaces::WalletLoader
Name has been confusing since it was introduced, and it was pointed in recent review club as https://bitcoincore.reviews/10102 that it was particularly unclear how interfaces::WalletClient was different from interfaces::Wallet. -BEGIN VERIFY SCRIPT- ren() { git grep -l "$1" src | xargs sed -i "s/$1/$2/g"; } ren WalletClient WalletLoader ren walletClient walletLoader ren wallet_client wallet_loader ren "wallet clients release the wallet" "wallet pointer owners release the wallet" ren "wallet client" "wallet loader" ren "Wallet client" "Wallet loader" -END VERIFY SCRIPT-
Diffstat (limited to 'src/dummywallet.cpp')
-rw-r--r--src/dummywallet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dummywallet.cpp b/src/dummywallet.cpp
index 7f6471740f..6aa89a2402 100644
--- a/src/dummywallet.cpp
+++ b/src/dummywallet.cpp
@@ -12,7 +12,7 @@ namespace interfaces {
class Chain;
class Handler;
class Wallet;
-class WalletClient;
+class WalletLoader;
}
class DummyWalletInit : public WalletInitInterface {
@@ -64,7 +64,7 @@ std::unique_ptr<Wallet> MakeWallet(const std::shared_ptr<CWallet>& wallet)
throw std::logic_error("Wallet function called in non-wallet build.");
}
-std::unique_ptr<WalletClient> MakeWalletClient(Chain& chain, ArgsManager& args)
+std::unique_ptr<WalletLoader> MakeWalletLoader(Chain& chain, ArgsManager& args)
{
throw std::logic_error("Wallet function called in non-wallet build.");
}