Remove strprintf / tfm::format calls that are passed a format string with no arguments.
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-
fanquake commented at 4:46 PM on December 2, 2026: member
-
refactor: drop strprintf on format strings without arguments 1f28c919da
-
refactor: stream directly instead of tfm::format with no arguments b47a41ff42
- DrahtBot added the label Refactoring on Dec 2, 2026
-
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
- Code coverage & benchmarks: https://corecheck.dev/bitcoin/bitcoin/pulls/37055
- Ralph review <img src=https://review.fish.foo/assets/bitcoin/bitcoin/37055.png alt="Ralph review status"> https://git.fish.foo/bitcoin/bitcoin/pulls/37055#author-ralph
<!--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
-onlynetto-outboundnetby 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::Resultfor 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-->
Labels