diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2021-12-22 13:44:55 -0500 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2021-12-22 13:44:55 -0500 |
commit | ff5f6dea5336075d1a6cace1112be3252d97540b (patch) | |
tree | e0faca531b734898819ad03ed0b06332229dd4aa /src/interfaces/init.h | |
parent | 63b5dfac21613b984803347bfe81454da667016e (diff) |
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/interfaces/init.h')
-rw-r--r-- | src/interfaces/init.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/init.h b/src/interfaces/init.h index 2a38054a17..a4ecf4b5d1 100644 --- a/src/interfaces/init.h +++ b/src/interfaces/init.h @@ -14,7 +14,7 @@ class Chain; class Echo; class Ipc; class Node; -class WalletClient; +class WalletLoader; //! Initial interface created when a process is first started, and used to give //! and get access to other interfaces (Node, Chain, Wallet, etc). @@ -29,7 +29,7 @@ public: virtual ~Init() = default; virtual std::unique_ptr<Node> makeNode(); virtual std::unique_ptr<Chain> makeChain(); - virtual std::unique_ptr<WalletClient> makeWalletClient(Chain& chain); + virtual std::unique_ptr<WalletLoader> makeWalletLoader(Chain& chain); virtual std::unique_ptr<Echo> makeEcho(); virtual Ipc* ipc(); }; |