RB
← All projectsRust Bitcoin

rust-bitcoin

Rust library for Bitcoin data structures, serialization, consensus encoding, and scripts.

BitcoinCryptographic librariesNormal
Repository coverage

2086 commits in the local evidence base

Every captured commit receives deterministic security triage and a separate communication-quality score. Security candidates and broader second-pass signals receive full-patch Ollama analysis.

461security candidates452second-pass queue2076AI analyses
182commits · 30 days
384commits · 60 days
1287commits · 180 days
2049commits · 365 days
Backfill bands
Aug 5 → Feb 6787 seen32 candidatesComplete
Feb 6 → Jun 6878 seen53 candidatesComplete
Jun 6 → Jul 6211 seen15 candidatesComplete
Jul 6 → Aug 5184 seen2 candidatesComplete
Commit communication

Does the history explain itself?

Message quality measures whether a commit identifies its scope, purpose, rationale, testing, and supporting references. It does not change the security-severity score.

64/100 average clarity
320Strong · 80–100
1058Adequate · 60–79
557Thin · 40–59
151Opaque · 0–39
20security candidates with opaque commit messaging
Read the scoring rubric →
Developer activity

Who is changing the project?

Public Git author strings; identities are not independently verified.

DeveloperCommitsCandidatesAnalyzedHigh riskMessage avg.
Mitchell Bagot643192641068
Tobin C. Harding41366410063
jrakibi944994068
Andrew Poelstra602155078
Nick Johnson18920189059
Jamil Lambert, PhD11418114061
Fmt Bot311431045
Trevor Arjeski111111069
Shing Him Ng31731056
Ismail Daif22622050
satsfy (Renato Britto)17617066
Martin Habovstiak27527069
Analysis record

Published AI watches

Last scanned 25 minutes ago

Informational 20 AI analysisMessage 91 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Merge rust-bitcoin/rust-bitcoin#6678: units: Add `Weight::to_vb_*` functions, deprecating `to_vbytes_*`

This is a routine API cleanup in a Rust Bitcoin library. It adds new method names (to_vb_floor, to_vb_ceil) for converting transaction 'weight' to 'virtual bytes' and marks the old names (to_vbytes_floor, to_vbytes_ceil) as deprecated. The…

7f614781by Andrew Poelstra+30−86 files
No security note in commit
Informational 15 AI analysisMessage 91 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Merge rust-bitcoin/rust-bitcoin#6597: Release tracking PR: `crypto 0.3.0`

This commit is a routine release-tracking merge. It only bumps version numbers (bitcoin-crypto to 0.3.0 and bitcoin-primitives to 0.103.1), updates dependency version requirements, refreshes lock files, and adds changelog entries. There ar…

1fddd49eby Andrew Poelstra+34−1210 files
No security note in commit
Informational 15 AI analysisMessage 28 · Opaque
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Update API files

This commit only updates generated API listing files (text snapshots of public functions) to reflect a newly added public function, `to_consensus_u32`, on the `CompactTarget` type. It does not change any source code, logic, or behavior, an…

a75c53c8by Mitchell Bagot+6−03 files
No security note in commit
Informational 15 AI analysisMessage 100 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Merge rust-bitcoin/rust-bitcoin#6675: units: Remove unnecessary track_caller

This commit removes two Rust compiler hints (`#[track_caller]`) from helper functions that simply return a value or call a user-provided fallback. These functions never panic, so the hints were unnecessary and had no security effect. The c…

ce894f36by Andrew Poelstra+0−21 file
No security note in commit
Informational 15 AI analysisMessage 91 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Merge rust-bitcoin/rust-bitcoin#6644: primitives: Add serde impls for `WitnessVersion`

This commit adds standard serialization/deserialization support for the WitnessVersion type when the optional serde feature is enabled. It is a routine feature addition with no security relevance visible in the code or commit message.

4981faa7by Andrew Poelstra+50−02 files
No security note in commit
Informational 15 AI analysisMessage 100 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Merge rust-bitcoin/rust-bitcoin#6671: units: reword docs from height to count in relative locktime

This commit only changes documentation comments and variable names in the rust-bitcoin library. It rewords references to 'block height' as 'block count' for relative locktime, because a relative locktime measures elapsed blocks since a coi…

6ea4ff92by Andrew Poelstra+20−172 files
No security note in commit
Informational 15 AI analysisMessage 96 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Merge rust-bitcoin/rust-bitcoin#6670: ci: fix labeller permissions

This is a routine GitHub Actions workflow fix. The change gives the automated PR labeler workflow permission to download artifacts and explicitly tells the GitHub CLI which repository to act on. It does not change the Bitcoin library code,…

CI workflow permission fixNo source code changesNo cryptographic or consensus changes
276e0a61by Andrew Poelstra+5−01 file
No security note in commit
Informational 15 AI analysisMessage 91 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Merge rust-bitcoin/rust-bitcoin#6657: Release tracking PR: `base58ck 0.5.0`

This commit is a routine version bump for the base58ck crate from 0.4.0 to 0.5.0. It only updates version numbers in package manifests, lock files, and adds a changelog entry. There are no code changes and no security relevance.

9deb5de1by Andrew Poelstra+22−168 files
No security note in commit
Informational 21 AI analysisMessage 100 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Merge rust-bitcoin/rust-bitcoin#6440: base58: Introduce `decode_check_to_array` for alloc-less decoding

This commit is a routine feature addition to the rust-bitcoin base58 crate. It adds a new no-allocator function to decode short base58-check strings into fixed-size byte arrays, and renames the existing error type while keeping a deprecate…

No security-relevant bug fix is described in the commit message or diff.New decoding path uses a fixed 128-byte scratch buffer (`ArrayVec`) and rejects oversized inputs.Checksum verification and invalid-character handling are preserved from the existing alloc implementation.
c5fd1832by Andrew Poelstra+330−775 files
No security note in commit
Informational 15 AI analysisMessage 93 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Merge rust-bitcoin/rust-bitcoin#6646: hashes: add several methods to `Midstate` and release 1.2.0

This commit is a routine feature release for the bitcoin_hashes crate. It adds new public methods and a constant to the SHA-256 Midstate type so developers can compute SHA-256 midstates in const contexts. There is no indication of a securi…

0f68fcb3by Andrew Poelstra+157−4210 files
No security note in commit
Informational 15 AI analysisMessage 73 · Adequate
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

units: reword docs to block count in relative locktime

This commit only rewords documentation comments and variable names in the codebase. It changes references from 'block height' to 'block count' for relative lock times, which is a terminology correction with no functional code changes. Ther…

8867fe2eby satsfy (Renato Britto)+20−172 files
No security note in commit
Informational 15 AI analysisMessage 91 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Merge rust-bitcoin/rust-bitcoin#6667: Make the `WitnessesEncoder` private

This commit makes a small internal helper type called WitnessesEncoder private. It was previously exported as public API but is only used inside the transaction encoder. The change removes it from the public API surface and moves the code …

07d91f7fby Andrew Poelstra+54−1324 files
No security note in commit
Informational 12 AI analysisMessage 75 · Adequate
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

ci: fix labeller permissions

This commit adjusts a GitHub Actions workflow that automatically labels pull requests based on CI results. It adds a built-in repository token, tells the artifact download step to merge single-file artifacts, and explicitly sets the reposi…

Workflow-only change with no library code modificationsUses the default GITHUB_TOKEN rather than a custom secretRuns in workflow_run context, which already has elevated repository access by design
715f2bd6by Nick Johnson+5−01 file
No security note in commit
Informational 19 AI analysisMessage 91 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Merge rust-bitcoin/rust-bitcoin#6661: units: Remove `From<u16>` from `NumberOfBlocks`

This is a routine API cleanup, not a security fix. The developers removed a shortcut that let programmers create a 'number of blocks' value directly from any u16 number, replacing it with an existing named constructor called from_height. T…

ed5f1b68by Andrew Poelstra+18−358 files
No security note in commit
Informational 15 AI analysisMessage 91 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Merge rust-bitcoin/rust-bitcoin#6668: Scrub the transaction encoding logic

This commit is a pure code reorganization (refactor) in the rust-bitcoin library. It moves transaction encoding and decoding definitions around within a single file so the code follows the project's preferred layout. No logic, behavior, or…

c5588ba5by Andrew Poelstra+57−571 file
No security note in commit
Informational 18 AI analysisMessage 96 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Merge rust-bitcoin/rust-bitcoin#6662: build(deps): bump actions/checkout from 6.0.2 to 6.0.3

This commit is a routine update to the GitHub Actions checkout tool used by the project's automated workflows. It changes the pinned version from 6.0.2 to 6.0.3 across many workflow files. The newer version fixes minor bugs related to SHA-…

Dependency bump of actions/checkout to a patch releaseUpstream fixes for SHA-256 repository checkout and merge commit regexAll affected workflows already disable persisted credentials
f7d364cdby Andrew Poelstra+29−2915 files
No security note in commit
Informational 15 AI analysisMessage 96 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Merge rust-bitcoin/rust-bitcoin#6663: build(deps): bump taiki-e/install-action from 2.79.12 to 2.81.4

This is a routine Dependabot update that bumps the version of a third-party GitHub Action used only in automated testing workflows. The change does not touch the project's actual Bitcoin library code, and there is no indication it fixes or…

5c92c0b0by Andrew Poelstra+2−22 files
No security note in commit
Informational 15 AI analysisMessage 45 · Thin
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Update the API text files

This commit only updates two generated API text files that list the public surface of the Rust crate. It removes entries for a `WitnessesEncoder` type, reflecting that the type is no longer part of the public API. There is no source code c…

9c391145by Tobin C. Harding+0−782 files
No security note in commit
Informational 15 AI analysisMessage 68 · Adequate
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Scrub the transaction encoding logic

This commit is a pure code reorganization: it moves existing transaction encoding and decoding definitions around within a single file so they follow the project's preferred layout. No logic was changed, no security bug was fixed, and no n…

80dcef15by Tobin C. Harding+57−571 file
No security note in commit
Informational 15 AI analysisMessage 58 · Thin
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Make the WitnessesEncoder private

This commit simply hides an internal helper type called WitnessesEncoder from public view. It is a routine API-cleanup change with no security relevance visible in the code or commit message.

b37accc3by Tobin C. Harding+54−542 files
No security note in commit
Repository ledger

Explore captured commits

Expand any commit for its author, full message, clarity score, changed files, triage signals, analysis, and source link.

Lower-priorityAdd extra_lints.sh to all cratesby Jamil Lambert, PhD · 92e9ff9a · Oct 13, 2025 · 11 filesMessage 68 · AdequateInformational 15Details
Commit message · Jamil Lambert, PhD

Add extra_lints.sh to all crates

rust-bitcoin-maintainer-tools has been updated and all the clippy
errors with no-default-features have been fixed.

Add extra_lints.sh to all crates with a command that runs clippy with
no-default-features. Running no-default-features on the workspace did
not give all of the clippy errors.

68/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
AI analysis · Informational 15/100

This commit only adds new helper scripts that run an automated code-quality tool (Clippy) on each crate with default features disabled. It does not change any library code, fix a bug, or alter behavior. There is no security issue here.

Lower-priorityFix unused import clippy lintby Jamil Lambert, PhD · 5466cb2b · Oct 13, 2025 · 1 fileMessage 60 · AdequateInformational 15Details
Commit message · Jamil Lambert, PhD

Fix unused import clippy lint

One import is unused with no-default-features.

Feature gate it.

60/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
AI analysis · Informational 15/100

This is a minor code cleanup commit. It moves one import statement behind a feature gate so that the Rust compiler's clippy lint tool no longer warns about an unused import when the library is built with no default features. There is no functional or security change.

Lower-priorityUpdate to latest maintainer tools versionby Jamil Lambert, PhD · 11d79ed0 · Oct 13, 2025 · 1 fileMessage 68 · AdequateInformational 15Details
Commit message · Jamil Lambert, PhD

Update to latest maintainer tools version

Update the commit hash to the latest version of
rust-bitcoin-maintainer-tools.

This new version supports running crate specific
`contrib/extra_lints.sh`

68/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This commit only updates the version (commit hash) of an internal maintainer-tools repository used by the project's GitHub Actions CI workflow. It does not change any application code, cryptographic logic, network handling, or user-facing behavior. There is no indication of a security fix or vulnerability.

AI review queuedprimitives: fix doc comment for OutPointEncoderby sashass1315 · 46b4c7f3 · Oct 13, 2025 · 1 fileMessage 45 · ThinInformational 15Details
Commit message · sashass1315

primitives: fix doc comment for OutPointEncoder

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit fixes a single incorrect word in a documentation comment. The comment previously said the encoder was for one type (TxOut) when it actually encodes a different type (OutPoint). No code behavior changed, and there is no security impact.

Lower-priorityUpdate mutant exclude for lifetime syntax changeby Jamil Lambert, PhD · 80f95b2c · Oct 13, 2025 · 1 fileMessage 78 · AdequateInformational 15Details
Commit message · Jamil Lambert, PhD

Update mutant exclude for lifetime syntax change

Two mutant excludes stopped working and caused a timeout in the weekly
mutation testing. The lifetimes are now elided to fix a clippy error.

Change the excludes to match the new syntax and kill the mutants.

78/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
AI analysis · Informational 15/100

This commit only updates two text patterns in a mutation-testing configuration file. The patterns tell the mutation-testing tool which functions to skip. The function names changed slightly because of a Rust syntax cleanup (lifetime elision), so the skip patterns had to be updated to keep working. No program code, cryptography, network handling, or user-facing behavior was changed.

Lower-priorityReword mutant exclude commentby Jamil Lambert, PhD · 6133e109 · Oct 13, 2025 · 1 fileMessage 50 · ThinInformational 15Details
Commit message · Jamil Lambert, PhD

Reword mutant exclude comment

Fix the comment for an mutant exclude as a follow up to the PR where it
was added.

50/100 · ThinMessage clarity
✓ Descriptive subject✓ Provides an explanatory body
AI analysis · Informational 15/100

This commit only rewords a comment in a configuration file used for mutation testing. No code behavior was changed, so there is no security impact.

Security candidate2025-10-12 automated rustfmt nightlyby Fmt Bot · 77fd3644 · Oct 12, 2025 · 8 filesMessage 45 · ThinInformational 15Details
Commit message · Fmt Bot

2025-10-12 automated rustfmt nightly

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Why it was queued
cryptography-sensitive pathsigning or wallet path
AI analysis · Informational 15/100

This is an automated code-formatting commit from rustfmt. It only changes whitespace, line breaks, import order, and other stylistic details. There are no functional changes and no security implications.

AI review queuedprimitives: Implement decodersby Tobin C. Harding · 39bf86be · Oct 11, 2025 · 14 filesMessage 35 · OpaqueLow 28Details
Commit message · Tobin C. Harding

primitives: Implement decoders

35/100 · OpaqueMessage clarity
✓ Descriptive subject! No meaningful explanatory body
Why it was queued
signing or wallet pathsecond-pass: opaque commit messagesecond-pass: security-sensitive path
AI analysis · Low 28/100

This commit adds new code to read (decode) Bitcoin data formats such as block headers, transactions, transaction inputs/outputs, and witness data in the rust-bitcoin library. It is a large feature addition rather than a clear security fix. The new decoders include length-limit checks and reject obviously invalid formats, but because this is brand-new parsing code, any mistakes could become memory-safety or denial-of-service issues in downstream Bitcoin software. There is no evidence in the commit message or diff that the authors are fixing a known vulnerability.

Lower-priorityUse scriptPubkey instead of script public keyby Tobin C. Harding · 63af0083 · Oct 11, 2025 · 1 fileMessage 60 · AdequateInformational 15Details
Commit message · Tobin C. Harding

Use scriptPubkey instead of script public key

This terminology is not that widely used, lets use `scriptPubkey`
instead as is more common.

60/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
AI analysis · Informational 15/100

This commit only rewords two documentation comments in the source code. It changes the phrase 'script public key (scriptPubKey)' to '`scriptPubKey` (locking script)' to match more common Bitcoin terminology. No code behavior changes, no API changes, and no security implications.

Lower-priorityRename min_bytes_needed cargo mutants excludeby Tobin C. Harding · 364c2d6d · Oct 11, 2025 · 1 fileMessage 60 · AdequateInformational 15Details
Commit message · Tobin C. Harding

Rename min_bytes_needed cargo mutants exclude

Got missed during rebase, merge, rename, I'd guess.

Use the new name when excluding.

60/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
AI analysis · Informational 15/100

This commit is a trivial configuration-only rename. It updates a single line in the project's mutation-testing exclusion file so that the correct function name ('read_limit') is skipped by the cargo-mutants tool, replacing the old name ('min_bytes_needed'). It does not change any production code, cryptographic logic, network handling, or user-facing behavior.

Security candidatedocs: fix grammatical issues in code commentsby radik878 · 865417d6 · Oct 11, 2025 · 3 filesMessage 57 · ThinInformational 15Details
Commit message · radik878

docs: fix grammatical issues in code comments

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
cryptography-sensitive path
AI analysis · Informational 15/100

This commit only fixes grammar in code comments and renames a test function that had a typo in its name. There are no code behavior changes, no security fixes, and no functional patches.

Lower-priorityRun just check-apiby jrakibi · a98abc50 · Oct 11, 2025 · 1 fileMessage 43 · ThinInformational 15Details
Commit message · jrakibi

Run just check-api

Run the script to update API text files after for the
recent change

43/100 · ThinMessage clarity
✓ Subject identifies a change✓ Provides an explanatory body
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This commit only updates an automatically generated API text file. It renames recorded trait implementations from `consensus_encoding` to `bitcoin_consensus_encoding` to match a recent code change. No actual source code, logic, or security behavior was changed.

AI review queuedconsensus_encoding: fix `consensus-encoding` package nameby jrakibi · da603646 · Oct 11, 2025 · 10 filesMessage 81 · StrongInformational 15Details
Commit message · jrakibi

consensus_encoding: fix `consensus-encoding` package name

Updated the package name to match the correct crate name:
https://crates.io/crates/bitcoin-consensus-encoding

Closes #5069

81/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
Why it was queued
parser or protocol pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit simply renames an internal Rust package from `consensus-encoding` to `bitcoin-consensus-encoding` so the crate name matches the one published on crates.io. It updates lock files, package manifests, and internal `use` statements accordingly. There is no change to program logic, no bug fix, and no security relevance.

Lower-prioritybitcoin: reject ambiguous merkle trees in MerkleNode::calculate_rootby Andrew Poelstra · 59877957 · Oct 11, 2025 · 2 filesMessage 86 · StrongModerate 62Details
Commit message · Andrew Poelstra

bitcoin: reject ambiguous merkle trees in MerkleNode::calculate_root

CVE 2012-2459 is about an ambiguity in Bitcoin's merkle root calculation
used to embed transactions in blocks. It is possible to take a valid
block, duplicate some sets of transactions, and obtain an invalid block
with the same hash. This can confuse nodes into incorrectly rejecting
the valid block.

Instead, following Core, when we detect duplicated transactions that
would cause this bug, we just refuse to return the Merkle root. Then
there is nothing that the node can get confused by; it will reject the
bad block (which is definitely bad, since it has duplicate transactions)
and move on with its life.

This patch is really just three lines (well, one line in an if guard)
plus a bunch of comments.

Fixes #5023

Thanks to Github user tm0, who responsibly disclosed this issue (though
I decided it was outside of our security boundary and requested that
they open a public issue).

86/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference✓ Names security-relevant behavior explicitly
AI analysis · Moderate 62/100

This commit fixes a bug in how the library calculates the Merkle root, a fingerprint used to summarize all transactions in a Bitcoin block. An old Bitcoin vulnerability (CVE 2012-2459) lets someone craft a block with duplicate transactions that produces the same fingerprint as a valid block, potentially tricking software into rejecting the real block. The patch makes the library refuse to compute the root whenever it sees the duplicate pattern, so the invalid block is simply rejected and no confusion can occur.

Lower-prioritychore: fix typos in code commentsby MozirDmitriy · f3d05f4b · Oct 10, 2025 · 3 filesMessage 57 · ThinInformational 15Details
Commit message · MozirDmitriy

chore: fix typos in code comments

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
AI analysis · Informational 15/100

This commit only corrects spelling mistakes in code comments and documentation strings. No program logic, function behavior, or security-relevant code was changed.

AI review queuedRemove length prefix from SliceEncoderby Tobin C. Harding · 63bbe12d · Oct 10, 2025 · 5 filesMessage 68 · AdequateInformational 17Details
Commit message · Tobin C. Harding

Remove length prefix from SliceEncoder

Currently we hide the length prefix inside the `SliceEncoder`. While
technically correct the usage of the `SliceEncoder` can be made more
clear by forcing users to combine a compact size encoder and a slice
encoder using an `Encoder2` instead of the current abstraction.

Co-developed-by: jrakabi <j.errakibi@gmail.com>

68/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 17/100

This commit is a straightforward internal code cleanup in the rust-bitcoin library's encoding machinery. It removes the automatic length-prefix behavior from a helper called SliceEncoder and instead makes callers explicitly combine a compact-size length encoder with the slice encoder. The actual serialized Bitcoin bytes produced for blocks and transactions remain the same; only the way the code is structured changes. There is no indication this fixes a security bug.

Lower-prioritybitcoin: add unit test for block that triggers CVE 2012-2459by Andrew Poelstra · 869067da · Oct 10, 2025 · 1 fileMessage 83 · StrongInformational 15Details
Commit message · Andrew Poelstra

bitcoin: add unit test for block that triggers CVE 2012-2459

See commit message and block comments in next commit for details.
Unit test taken from #5023.

83/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference
AI analysis · Informational 15/100

This commit only adds a new unit test that demonstrates an old Bitcoin bug (CVE 2012-2459). The test deliberately duplicates the last transaction in a real historical block and checks that the forged block still passes validation. The commit message and an inline comment ('FIXME fixed in next commit') make clear the test is documenting a bug that will be patched later. No actual fix is included here, so this commit by itself does not change any production behavior or introduce a vulnerability.

Security candidatedocs: fix scriptcode typoby Klaklax · 137bc48e · Oct 9, 2025 · 2 filesMessage 47 · ThinInformational 15Details
Commit message · Klaklax

docs: fix scriptcode typo

47/100 · ThinMessage clarity
✓ Descriptive subject✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
cryptography-sensitive pathdocumentation-only discount
AI analysis · Informational 15/100

This commit fixes a spelling mistake in two documentation files, changing 'sciptcode' to 'scriptcode'. It does not change any code, program behavior, or security properties.

AI review queuedUpdate APIby Nick Johnson · 38b47c72 · Oct 9, 2025 · 1 fileMessage 0 · OpaqueInformational 15Details
Commit message · Nick Johnson

Update API

0/100 · OpaqueMessage clarity
! Very short subject! Too few words to establish purpose! No meaningful explanatory body
Why it was queued
documentation-only discountsecond-pass: opaque commit message
AI analysis · Informational 15/100

This commit only updates a generated text file that lists the public API surface of the crate. It renames a handful of method entries from `min_bytes_needed` to `read_limit` in the API listing. There is no actual source code change, no bug fix, and no security-relevant behavior change visible in the diff.

AI review queuedconsensus_encoding: rename min_bytes_neededby Nick Johnson · ac51770a · Oct 9, 2025 · 8 filesMessage 70 · AdequateInformational 15Details
Commit message · Nick Johnson

consensus_encoding: rename min_bytes_needed

The `min_bytes_needed` name is a bit of a misnomer because it implies a
lower bound instead of an upper. I believe the original intention was
to capture "minimum bytes needed to advance the state of the decoder",
but that is a little wordy. Updated to `read_limit` since this is an
upper bound to protect against over consuming bytes the decoder doesn't
know what to do with.

70/100 · AdequateMessage clarity
✓ Descriptive subject✓ Provides detailed explanatory context✓ Explains rationale or failure mode
Why it was queued
signing or wallet pathparser or protocol pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit is a simple rename of a Rust trait method from `min_bytes_needed` to `read_limit` across the codebase, along with an update to its documentation to clarify that it represents an upper bound on bytes that can be safely read. There are no logic changes, no bug fixes, and no security implications.

Security candidateFeature gate unused constby Jamil Lambert, PhD · a4be941e · Oct 9, 2025 · 1 fileMessage 60 · AdequateInformational 15Details
Commit message · Jamil Lambert, PhD

Feature gate unused const

Clippy lint for a test const that is only used in an alloc feature gated
test.

Feature gate the cost as well.

60/100 · AdequateMessage clarity
✓ Descriptive subject✓ Provides an explanatory body✓ Mentions testing or verification
Why it was queued
cryptography-sensitive path
AI analysis · Informational 15/100

This is a minor code-quality change. A constant used only in tests that require the 'alloc' feature was not itself behind that feature gate, causing a compiler warning (Clippy lint) when building without that feature. The patch adds the missing feature gate so the constant is only compiled when needed. There is no security impact.

Security candidateFix clippy error: struct is never constructedby Jamil Lambert, PhD · 5e2eeb87 · Oct 9, 2025 · 2 filesMessage 68 · AdequateInformational 15Details
Commit message · Jamil Lambert, PhD

Fix clippy error: struct is never constructed

The structs are only used with `alloc` or `std`.

Feature gate the structs, their impls and the associated import with
`alloc`, which is already a dependency of `std`.

68/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Why it was queued
cryptography-sensitive path
AI analysis · Informational 15/100

This commit is a routine code-quality fix. It adds Rust feature gates so that certain test-only structs and imports are only compiled when the 'alloc' feature is enabled, silencing a Clippy warning about structs that are never constructed. There is no security relevance.

Lower-priorityRemove deprecated constructors from fuzz targetby Shing Him Ng · a11c0376 · Oct 8, 2025 · 1 fileMessage 70 · AdequateInformational 15Details
Commit message · Shing Him Ng

Remove deprecated constructors from fuzz target

These were causing the daily fuzz cron job to fail

70/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Mentions testing or verification
Why it was queued
fuzzing or regression evidence
AI analysis · Informational 15/100

This is a routine maintenance change to a fuzz-testing file. It removes two deprecated test helper functions from a list so that an automated daily fuzzing job stops failing. There is no change to production code, no user-facing behavior, and no security fix.

AI review queuedUpdate `segwit_weight` and `legacy_weight` to use non-deprecated functionsby Shing Him Ng · 0cd384d8 · Oct 8, 2025 · 3 filesMessage 50 · ThinInformational 15Details
Commit message · Shing Him Ng

Update `segwit_weight` and `legacy_weight` to use non-deprecated functions

50/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit is a routine internal cleanup. It replaces deprecated function names with their newer equivalents in two helper methods that calculate Bitcoin transaction weight. The actual math and behavior remain the same, and the old functions are still kept (just marked as deprecated). There is no security issue here.

AI review queuedUpdate `Weight` and `TxInExt` functions with panic detailsby Shing Him Ng · fcc34737 · Oct 8, 2025 · 2 filesMessage 50 · ThinInformational 15Details
Commit message · Shing Him Ng

Update `Weight` and `TxInExt` functions with panic details

50/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Why it was queued
signing or wallet pathsecond-pass: broader security terminologysecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit only adds documentation comments describing situations where certain functions could panic due to arithmetic overflow. No code behavior was changed, so this is a documentation-only update with no security impact.