scripted-diff: Rename interfaces::WalletClient to interfaces::WalletLoader #23842

pull ryanofsky wants to merge 1 commits into bitcoin:master from ryanofsky:pr/loader changing 26 files +62 −62
  1. ryanofsky commented at 6:47 PM on December 22, 2021: contributor

    Name has been confusing since it was introduced, and it was pointed in recent review club https://bitcoincore.reviews/10102 that it was particularly unclear how interfaces::WalletClient was different from interfaces::Wallet.

  2. 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-
    ff5f6dea53
  3. DrahtBot added the label GUI on Dec 22, 2021
  4. DrahtBot added the label interfaces on Dec 22, 2021
  5. DrahtBot added the label Refactoring on Dec 22, 2021
  6. DrahtBot added the label Wallet on Dec 22, 2021
  7. fanquake cross-referenced this on Dec 23, 2021 from issue ci: failure in rpc_scantxoutset.py by fanquake
  8. DrahtBot commented at 6:58 AM on December 23, 2021: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--174a7506f384e20aa4161008e828411d-->

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #23732 (refactor: Remove gArgs from bdb.h and sqlite.h by kiminuo)
    • #23497 (Add src/node/ and src/wallet/ code to node:: and wallet:: namespaces by ryanofsky)
    • #10102 (Multiprocess bitcoin by ryanofsky)

    If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

  9. DrahtBot cross-referenced this on Dec 23, 2021 from issue refactor: Remove `gArgs` from `bdb.h` and `sqlite.h` by kiminuo
  10. DrahtBot cross-referenced this on Dec 23, 2021 from issue Add `src/node/` and `src/wallet/` code to `node::` and `wallet::` namespaces by ryanofsky
  11. michaelfolkson commented at 12:06 PM on December 23, 2021: contributor

    Concept ACK - WalletLoader is improved naming imo.

    Checked there were no remaining references to WalletClient on master after this PR.

  12. w0xlt approved
  13. w0xlt commented at 12:33 PM on December 23, 2021: contributor

    ACK ff5f6de

    WalletLoader is really a better name for this class.

  14. shaavan commented at 1:08 PM on December 23, 2021: contributor

    Concept ACK

    WalletLoader is a definite name improvement over WalletClient, considering the purpose of this class.

    ...also has additional //! methods (called by the GUI) to load and create wallets.

    I checked for any more occurrences of WalletClient in PR, and I found none. I was able to compile and run bitcoind successfully on Ubuntu 20.04.

    However, I would still like to wait for other reviewers' views on this change before giving an ACK.

  15. MarcoFalke removed the label GUI on Dec 23, 2021
  16. MarcoFalke removed the label Wallet on Dec 23, 2021
  17. MarcoFalke removed the label interfaces on Dec 23, 2021
  18. MarcoFalke merged this on Dec 23, 2021
  19. MarcoFalke closed this on Dec 23, 2021

  20. DrahtBot cross-referenced this on Dec 23, 2021 from issue Multiprocess bitcoin by ryanofsky
  21. sidhujag referenced this in commit 05771c53ca on Dec 27, 2021
  22. bitcoin locked this on Dec 23, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:53 UTC