While taking a look at #17198 I noticed that the method CWallet::GetLabelName(...) is not used anymore, since the account API was removed (c9c32e6b844fc79467b7e24c6c916142a0d08484).
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-
theStack commented at 7:25 PM on October 20, 2019: member
-
wallet: Remove unused GetLabelName 7ca68e1461
- fanquake added the label Wallet on Oct 20, 2019
-
practicalswift commented at 7:39 PM on October 20, 2019: contributor
ACK 7ca68e1461376afc22a26268c80a7281522ed9eb
Very good catch! :)
-
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.
-
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:
-
promag commented at 9:26 PM on October 20, 2019: member
ACK 7ca68e1461376afc22a26268c80a7281522ed9eb.
- fanquake approved
-
fanquake commented at 11:49 PM on October 20, 2019: member
ACK 7ca68e1461376afc22a26268c80a7281522ed9eb
- fanquake referenced this in commit 0d7e8d66c4 on Oct 20, 2019
- fanquake merged this on Oct 20, 2019
- fanquake closed this on Oct 20, 2019
-
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 :)
-
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 toSerialize()andUnserialize()calls. I would have expected correspondingoperator<<()andoperator>>()methods in theCExt{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 ;-) - deadalnix referenced this in commit be118d0a55 on Jul 31, 2020
- theStack deleted the branch on Dec 1, 2020
- DrahtBot locked this on Feb 15, 2022