refactor: hasher cleanup (follow-up to 19935) #22772

pull mzumsande wants to merge 2 commits into bitcoin:master from mzumsande:202108_hasher_cleanup changing 2 files +0 −15
  1. mzumsande commented at 4:01 PM on August 22, 2021: member

    Small follow-ups to #19935:

    • Removal of unused KeyIDHasher class (comment in 19935)
    • Removal of an outdated comment, which referred to an old problem with the no longer supported Boost 1.46 and boost::unordered_map, now replaced by std::unordered_map. (comment in 19935)
  2. refactor: Remove unused KeyIDHasher 16652a93ea
  3. doc: remove outdated comment
    No longer relevant because Boost 1.46 is no longer supported and
    std::unordered_map is used instead of boost::unordered_map in CCoinsMap.
    4c69571e6e
  4. DrahtBot added the label Refactoring on Aug 22, 2021
  5. DrahtBot added the label Utils/log/libs on Aug 22, 2021
  6. DrahtBot added the label Wallet on Aug 22, 2021
  7. MarcoFalke removed the label Wallet on Aug 22, 2021
  8. MarcoFalke removed the label Utils/log/libs on Aug 22, 2021
  9. Zero-1729 approved
  10. Zero-1729 commented at 5:56 PM on August 22, 2021: contributor

    ACK 4c69571e6eeae2c03d59045ea102baa5fd1c3816

    LGTM, agree, no need keeping the unused KeyIDHasher (esp. after 281fd1a4a032cded7f9ea9857e3e99fc793c714b) and the out of date comment in src/util/hasher.h.

  11. theStack approved
  12. theStack commented at 5:43 PM on August 23, 2021: member

    ACK 4c69571e6eeae2c03d59045ea102baa5fd1c3816 🆗

    Verified via git grep KeyIDHasher that the removed class is indeed not used anywhere and also checked that the comment is outdated.

  13. Saviour1001 commented at 7:47 PM on August 23, 2021: none

    Tested ACK <code>4c69571</code>

  14. fanquake merged this on Aug 24, 2021
  15. fanquake closed this on Aug 24, 2021

  16. sidhujag referenced this in commit b57b963519 on Aug 24, 2021
  17. mzumsande deleted the branch on Aug 27, 2021
  18. DrahtBot locked this on Aug 27, 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-17 03:14 UTC

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