From ff5f6dea5336075d1a6cace1112be3252d97540b Mon Sep 17 00:00:00 2001 From: Russell Yanofsky Date: Wed, 22 Dec 2021 13:44:55 -0500 Subject: 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- --- src/node/context.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/node/context.h') diff --git a/src/node/context.h b/src/node/context.h index 26873345b4..e0f85ec6fc 100644 --- a/src/node/context.h +++ b/src/node/context.h @@ -23,7 +23,7 @@ namespace interfaces { class Chain; class ChainClient; class Init; -class WalletClient; +class WalletLoader; } // namespace interfaces //! NodeContext struct containing references to chain state and connection @@ -52,7 +52,7 @@ struct NodeContext { std::vector> chain_clients; //! Reference to chain client that should used to load or create wallets //! opened by the gui. - interfaces::WalletClient* wallet_client{nullptr}; + interfaces::WalletLoader* wallet_loader{nullptr}; std::unique_ptr scheduler; std::function rpc_interruption_point = [] {}; -- cgit v1.2.3