tools: Call SHA256AutoDetect in bitcoin-util, bitcoin-tx and bitcoin-wallet #36364

pull torkelrogstad wants to merge 1 commits into bitcoin:master from torkelrogstad:2026-09-28-sha256 changing 3 files +6 −0
  1. torkelrogstad commented at 7:16 AM on September 28, 2026: contributor

    Only kernel::Context users selected a hardware SHA256 implementation, so these tools fell back to the generic one. On an M2 Max, grind is ~5x faster and signing 2000 P2PKH inputs with bitcoin-tx ~2.3x.

  2. tools: Call SHA256AutoDetect in bitcoin-util, bitcoin-tx and bitcoin-wallet
    Only kernel::Context users selected a hardware SHA256 implementation,
    so these tools fell back to the generic one. On an M2 Max, grind is
    ~5x faster and signing 2000 P2PKH inputs with bitcoin-tx ~2.3x.
    4048909a53
  3. DrahtBot added the label Scripts and tools on Sep 28, 2026
  4. DrahtBot commented at 7:17 AM on September 28, 2026: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

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

    <!--006a51241073e994b41acfe9ec718e94-->

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/36364.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline and AI policy for information on the review process.

    Type Reviewers
    ACK maflcko, furszy
    Concept ACK hebasto

    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.

    <!--174a7506f384e20aa4161008e828411d-->

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #35788 (bitcoin-util: Add evalscript subcommand by ajtowns)

    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.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

  5. maflcko commented at 7:55 AM on September 28, 2026: member

    lgtm ACK 4048909a53422bf86b207a9b5c8650e8edd25737

  6. hebasto commented at 9:28 AM on September 28, 2026: member

    Concept ACK.

  7. furszy commented at 2:21 PM on September 28, 2026: member

    utACK 4048909a53422bf86b207a9b5c8650e8edd25737

  8. DrahtBot requested review from hebasto on Sep 28, 2026
  9. fanquake added the label Needs Backport (32.x) on Sep 29, 2026
  10. fanquake merged this on Sep 29, 2026
  11. fanquake closed this on Sep 29, 2026

  12. fanquake removed the label Needs Backport (32.x) on Sep 29, 2026
  13. fanquake commented at 1:12 PM on September 29, 2026: member

    Backported to 32.x in #36300.

  14. fanquake referenced this in commit 02a7f11038 on Sep 29, 2026
  15. hebasto approved
  16. hebasto commented at 3:21 PM on September 29, 2026: member

    Post-merge ACK 4048909a53422bf86b207a9b5c8650e8edd25737.


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-10-21 00:51 UTC

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