Remove some unused functions and methods #11385

pull sipa wants to merge 1 commits into bitcoin:master from sipa:201709_misc_cleanups changing 3 files +0 −21
  1. sipa commented at 6:45 AM on September 22, 2017: member

    In the case of CKey's destructor, it seems to have been an oversight in #8753 not to delete it. At this point, it results in the move constructors/assignment operators for CKey being deleted, which may have a performance impact (requiring a pool allocation/copy/free, rather than just handing over the pointer from one CKey to another)

  2. Remove some unused functions and methods
    In the case of CKey's destructor, it seems to have been an oversight in
    f4d1fc259 not to delete it. At this point, it results in the move
    constructors/assignment operators for CKey being deleted, which may have
    a performance impact.
    46c90437f9
  3. dcousens approved
  4. theuni commented at 6:54 AM on September 22, 2017: member

    utACK 46c90437f9efbabcb5c810cd82b00a9e5d1c5cd7.

    Out of curiosity, did you just happen upon CKey's useless dtor? I noticed some of these a while back which I believe have been fixed (CScript/prevector iirc), but if there's some simple static analysis tool that points them out, I'd like to get all of 'em.

  5. sipa commented at 6:59 AM on September 22, 2017: member

    @theuni No tools, just stumbled upon it.

  6. fanquake added the label Refactoring on Sep 22, 2017
  7. promag commented at 7:25 AM on September 22, 2017: member

    utACK 46c9043.

  8. practicalswift commented at 8:31 AM on September 22, 2017: contributor

    utACK 46c90437f9efbabcb5c810cd82b00a9e5d1c5cd7

  9. laanwj merged this on Sep 22, 2017
  10. laanwj closed this on Sep 22, 2017

  11. laanwj referenced this in commit 94c9015bca on Sep 22, 2017
  12. underdarkskies referenced this in commit 8d2c4446a3 on Jul 3, 2018
  13. jasonbcox referenced this in commit 97b7b1b238 on May 15, 2019
  14. jonspock referenced this in commit 085baea45c on Jun 13, 2019
  15. jonspock referenced this in commit 525a07dc95 on Jun 13, 2019
  16. PastaPastaPasta referenced this in commit bad429f601 on Dec 22, 2019
  17. PastaPastaPasta referenced this in commit d0e6a1c4e4 on Jan 2, 2020
  18. PastaPastaPasta referenced this in commit c5e1cfe005 on Jan 4, 2020
  19. PastaPastaPasta referenced this in commit d15dd02d78 on Jan 4, 2020
  20. PastaPastaPasta referenced this in commit d6df1e605a on Jan 10, 2020
  21. PastaPastaPasta referenced this in commit f6a6860cbc on Jan 10, 2020
  22. PastaPastaPasta referenced this in commit 44b47017ef on Jan 10, 2020
  23. PastaPastaPasta referenced this in commit dd8e0c0153 on Jan 12, 2020
  24. zkbot referenced this in commit 5ef5d8d268 on Jul 31, 2020
  25. zkbot referenced this in commit 7d94064616 on Sep 29, 2020
  26. ckti referenced this in commit 7a256c4b08 on Mar 28, 2021
  27. furszy referenced this in commit 60d36292bc on Jul 26, 2021
  28. MarcoFalke locked this on Sep 8, 2021

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-19 09:15 UTC

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