refactor: drop format calls on strings without arguments #37055

pull fanquake wants to merge 2 commits into bitcoin:master from fanquake:strprintf_no_args changing 18 files +44 −44
  1. fanquake commented at 4:46 PM on December 2, 2026: member

    Remove strprintf / tfm::format calls that are passed a format string with no arguments.

  2. refactor: drop strprintf on format strings without arguments 1f28c919da
  3. refactor: stream directly instead of tfm::format with no arguments b47a41ff42
  4. DrahtBot added the label Refactoring on Dec 2, 2026
  5. DrahtBot commented at 4:57 PM on December 2, 2026: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

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

    <!--006a51241073e994b41acfe9ec718e94-->

    External sites

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline and AI policy for information on the review process. A summary of reviews will appear here.

    <!--174a7506f384e20aa4161008e828411d-->

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #37048 <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/37048.svg"></sub> (Rename -onlynet to -outboundnet by darosior)
    • #37019 <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/37019.svg"></sub> (http: free idle connection slots for waiting connections at the limit by optout21)
    • #37017 <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/37017.svg"></sub> (wallet: Use util::Result for fee bumping methods by rustaceanrob)
    • #36897 <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36897.svg"></sub> (wallet, migration: Contain all legacy wallet and migration related things in its own subdirectory, namespace, and classes by achow101)
    • #36823 <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36823.svg"></sub> (wallet, migration: Skip legacy wallet records rather than erasing them, and drop unused record erase functions by achow101)
    • #36122 <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36122.svg"></sub> (BIP460: CISA for Taproot key path spends by fjahr)
    • #27260 <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/27260.svg"></sub> (Enhanced error messages for invalid network prefix during address parsing. by portlandhodl)

    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-->

Contributors

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-12-05 03:51 UTC

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