verifybinaries: fix trusted signature count #34889
pull dplusplus1024 wants to merge 1 commits into bitcoin:master from dplusplus1024:patch-3 changing 1 files +3 −3-
dplusplus1024 commented at 10:59 pm on March 21, 2026: contributorThe threshold check currently counts both trusted and untrusted signatures. Count only trusted signatures toward the threshold.
-
6a2998939a
verifybinaries: fix trusted signature count
The threshold check currently counts both trusted and untrusted signatures. Count only trusted signatures toward the threshold.
-
DrahtBot commented at 10:59 pm on March 21, 2026: contributor
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Reviews
See the guideline for information on the review process. A summary of reviews will appear here.
-
dplusplus1024 closed this on Mar 22, 2026
-
dplusplus1024 commented at 3:28 am on March 22, 2026: contributorClosing this after taking a closer look at the verifier semantics. The implementation and surrounding messaging make it look like the threshold is supposed to apply only to trusted signatures: signatures are split into trusted and untrusted buckets, related variables are named accordingly, and the code emits messages about trusted sigs meeting the threshold. On further review, I now assume the current behavior is intentional, with trust surfaced separately in the output for operator review and the threshold based on good signatures overall. The existing variable names, messaging, and control flow are internally inconsistent enough that the current implementation reads as a logical error.
-
fanquake commented at 5:50 am on March 22, 2026: memberThis is atleast the second time there has been confusion over this script, in as many months. So I think we probably need to do something here, to make the implementation less confusing.
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-03-31 12:13 UTC
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-03-31 12:13 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me