leveldb: remove unused files #34612

pull fanquake wants to merge 1 commits into bitcoin:master from fanquake:unused_historgram changing 1 files +0 −3
  1. fanquake commented at 10:55 AM on February 18, 2026: member

    Remove db/c.cc, dumpfile.cc & histogram.cc.

  2. DrahtBot commented at 10:55 AM on February 18, 2026: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

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

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK willcl-ark, sedited

    If your review is incorrectly listed, please copy-paste <code>&lt;!--meta-tag:bot-skip--&gt;</code> into the comment that the bot should ignore.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

  3. fanquake force-pushed on Feb 18, 2026
  4. fanquake renamed this:
    leveldb: remove unused `util/histogram.cc`
    leveldb: remove unused `db/dumpfile.cc` & `util/histogram.cc`
    on Feb 18, 2026
  5. fanquake commented at 2:32 PM on February 18, 2026: member

    Added db/dumpfile.cc, which is also unused.

  6. leveldb: remove unused files 3feabb203a
  7. fanquake renamed this:
    leveldb: remove unused `db/dumpfile.cc` & `util/histogram.cc`
    leveldb: remove unused files
    on Feb 20, 2026
  8. fanquake force-pushed on Feb 20, 2026
  9. willcl-ark commented at 1:17 PM on February 25, 2026: member

    ACK 3feabb203a6e1af9fe03e997782ecb1a5020872d

    Looks reasonable to me. As far as I could see these were ported to cmake from autotools, and arrived originally during the leveldb subtree, where autotools just built all files.

    Tested a build-and-link without them.

    Removing from the build list but keeping the files seems like the best approach, to minimise conflicts during any future subtree bumps.

  10. sedited approved
  11. sedited commented at 8:00 AM on March 6, 2026: contributor

    ACK 3feabb203a6e1af9fe03e997782ecb1a5020872d

    I think it's good to keep the files around. I do use the utilities sometimes and being able to compile from our subtree is useful.

  12. fanquake commented at 10:37 AM on March 6, 2026: member

    To make another benefit clear, removing these means that we have less dead code being compiled into the kernel lib.

    I do use the utilities sometimes and being able to compile from our subtree is useful.

    You might be interested in some of the upstream PRs, i.e: https://github.com/bitcoin-core/leveldb-subtree/pull/55, if you're already working around that locally.

  13. fanquake merged this on Mar 6, 2026
  14. fanquake closed this on Mar 6, 2026

  15. fanquake deleted the branch on Mar 6, 2026

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-26 06:12 UTC

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