wallet: Remove unused GetLabelName #17203

pull theStack wants to merge 1 commits into bitcoin:master from theStack:20191020-wallet-remove_unused_GetLabelName changing 2 files +0 −17
  1. theStack commented at 7:25 PM on October 20, 2019: member

    While taking a look at #17198 I noticed that the method CWallet::GetLabelName(...) is not used anymore, since the account API was removed (c9c32e6b844fc79467b7e24c6c916142a0d08484).

  2. wallet: Remove unused GetLabelName 7ca68e1461
  3. fanquake added the label Wallet on Oct 20, 2019
  4. practicalswift commented at 7:39 PM on October 20, 2019: contributor

    ACK 7ca68e1461376afc22a26268c80a7281522ed9eb

    Very good catch! :)

  5. DrahtBot commented at 7:47 PM on October 20, 2019: member

    <!--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:

    • #16341 (Introduce ScriptPubKeyMan interface and use it for key and script management (aka wallet boxes) by achow101)

    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.

  6. theStack commented at 7:50 PM on October 20, 2019: member

    Very good catch! :)

    Thanks for providing the regex and the review. I guess if a function is not called at all this is also kind of a "lifetime issue" :stuck_out_tongue_closed_eyes:

  7. promag commented at 9:26 PM on October 20, 2019: member

    ACK 7ca68e1461376afc22a26268c80a7281522ed9eb.

  8. fanquake approved
  9. fanquake commented at 11:49 PM on October 20, 2019: member

    ACK 7ca68e1461376afc22a26268c80a7281522ed9eb

  10. fanquake referenced this in commit 0d7e8d66c4 on Oct 20, 2019
  11. fanquake merged this on Oct 20, 2019
  12. fanquake closed this on Oct 20, 2019

  13. practicalswift commented at 1:22 PM on October 21, 2019: contributor

    @theStack If you want to remove dead code you might want to take a look at #17130 (comment) too :)

  14. theStack commented at 5:19 PM on October 21, 2019: member

    @theStack If you want to remove dead code you might want to take a look at #17130 (comment) too :)

    Thanks, I actually already looked at this recently, but struggled on understanding how the << and >> operators translate to Serialize() and Unserialize() calls. I would have expected corresponding operator<<() and operator>>() methods in the CExt{Pub,Key} classes, but I don't see them -- hence there has to be some implicit magic going on... guess I have to polish up my lousy templates knowledge a bit ;-)

  15. deadalnix referenced this in commit be118d0a55 on Jul 31, 2020
  16. theStack deleted the branch on Dec 1, 2020
  17. DrahtBot locked this on Feb 15, 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-04-14 21:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me