RB
← All projectsRust Bitcoin

rust-bitcoin

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

BitcoinCryptographic librariesNormal
Repository coverage

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

459security candidates448second-pass queue1437AI analyses
183commits · 30 days
403commits · 60 days
1283commits · 180 days
2061commits · 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
311Strong · 80–100
1054Adequate · 60–79
555Thin · 40–59
150Opaque · 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 Bagot640192529068
Tobin C. Harding40965231063
jrakibi944980068
Nick Johnson18920132059
Andrew Poelstra512035075
Jamil Lambert, PhD1141859061
Fmt Bot311426045
Trevor Arjeski111111069
Shing Him Ng31725056
Ismail Daif22615050
satsfy (Renato Britto)17617066
Martin Habovstiak27527069
Analysis record

Published AI watches

Last scanned 47 minutes ago

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
Informational 15 AI analysisMessage 45 · Thin
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

release bitcoin_hashes 1.2.0

This commit is a routine version bump for the bitcoin_hashes library from version 1.1.0 to 1.2.0. It only updates lock files, the package version number, and the changelog. There is no code change and no security relevance visible in the c…

8899dfd2by Andrew Poelstra+27−224 files
No security note in commit
Informational 15 AI analysisMessage 93 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

build(deps): bump astral-sh/setup-uv from 8.1.0 to 8.2.0

This is a routine automated update by Dependabot that changes the pinned version of a GitHub Action used to install the 'uv' Python tool in two workflow files. The new commit hash corresponds to the legitimate 8.2.0 release of astral-sh/se…

1c438632by dependabot[bot]+2−22 files
No security note in commit
Informational 15 AI analysisMessage 93 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

build(deps): bump github/codeql-action/upload-sarif

This is a routine automated update by Dependabot that changes the pinned version of a GitHub-provided security scanning helper used in a workflow. It does not modify the project's actual Bitcoin library code, its cryptographic logic, or an…

5293bee4by dependabot[bot]+1−11 file
No security note in commit
Informational 15 AI analysisMessage 93 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

build(deps): bump taiki-e/install-action from 2.79.12 to 2.81.4

This is a routine Dependabot update that bumps a GitHub Actions helper used in automated testing workflows from version 2.79.12 to 2.81.4. It only changes which version of the action is invoked during CI runs; it does not modify the Rust B…

eb9544f9by dependabot[bot]+2−22 files
No security note in commit
Informational 15 AI analysisMessage 93 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

build(deps): bump actions/checkout from 6.0.2 to 6.0.3

This is a routine automated update by Dependabot that bumps the GitHub Actions 'actions/checkout' dependency from version 6.0.2 to 6.0.3 across all project workflow files. It only changes pinned commit hashes and version comments for the a…

Routine patch-level dependency bumpNo changes to permissions, inputs, or workflow logicpersist-credentials: false already present on all checkout steps
ae935fadby dependabot[bot]+29−2915 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-prioritytest(p2p): Remove legacy encoding logic in `message`by rustaceanrob · 935c1d41 · Apr 24, 2026 · 1 fileMessage 100 · StrongInformational 15Details
Commit message · rustaceanrob

test(p2p): Remove legacy encoding logic in `message`

Here we also remove tests for `CheckedData`, as the checksum will be
computed directly.

ref: https://github.com/rust-bitcoin/rust-bitcoin/pull/6076

100/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference
AI analysis · Informational 15/100

This commit only changes test code in the rust-bitcoin library. It removes old-style serialization tests and switches them to use a newer encoding API. No production code is modified, and there is no security fix or vulnerability introduced.

Lower-prioritytest(p2p): Remove legacy encoding roundtrip tests in `address`by rustaceanrob · 547d13be · Apr 24, 2026 · 1 fileMessage 95 · StrongInformational 15Details
Commit message · rustaceanrob

test(p2p): Remove legacy encoding roundtrip tests in `address`

In the case of these unit tests, the new encoding logic has already been
added alongside the old encoding. This simply removes the old encoding
cases

95/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Mentions testing or verification
AI analysis · Informational 15/100

This commit only removes old test cases from the codebase. It deletes duplicate roundtrip tests that used a legacy encoding path, keeping only the tests for the new encoding path. No production code was changed, and no security vulnerability is present in the diff.

Lower-priorityp2p: Compute checksum when decoding v1 messagesby rustaceanrob · 4c10be5c · Apr 24, 2026 · 1 fileMessage 68 · AdequateModerate 60Details
Commit message · rustaceanrob

p2p: Compute checksum when decoding v1 messages

The `sha2_checksum` function is updated to take a `T: Encodable`, which
is passed to `hashes::encode_to_engine`. Two calls to `sha2_checksum`
are unwound, as `Vec<u8>` is not `Encodable`, but both of these
callsites will be removed shortly when `CheckedData` is removed along
with the legacy encoding traits.

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

This commit fixes a missing security check in the Bitcoin peer-to-peer message decoder. Previously, when receiving v1 Bitcoin network messages, the code decoded the payload but did not verify the 4-byte checksum in the message header against the actual payload data. That meant corrupted or tampered messages could be accepted as valid. The change makes the decoder compute the expected checksum and reject messages where the checksum does not match.

Lower-priorityImplement `AsRef<PushBytes>` for generic hashesby Martin Habovstiak · 3143b638 · Apr 24, 2026 · 2 filesMessage 80 · StrongInformational 18Details
Commit message · Martin Habovstiak

Implement `AsRef<PushBytes>` for generic hashes

Some hash types provided by the `bitcoin_hashes` crate are natively
supported by the Bitcoin script and it seems natural that the users
might want to compute the hash from a preimage and push it into the
script. This is already doable by simply calling
`.push_slice(hash.as_byte_array())` because of the impls on `&[u8; N]`
however, we do support these casts in case of other hash types to make
it more convenient to push them into script and signal that it is usual
to put these objects into script.

To close the gap, this commit adds implementations for the missing
hashes.

80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode
AI analysis · Informational 18/100

This commit is a small convenience improvement, not a security fix. It lets several common Bitcoin hash types be directly used as 'pushable bytes' in Bitcoin scripts, so developers can write slightly cleaner code when building transactions. There is no vulnerability being patched.

Lower-priorityext: Add extension trait re-exportsby Mitchell Bagot · 31f3c3d4 · Apr 24, 2026 · 1 fileMessage 68 · AdequateInformational 15Details
Commit message · Mitchell Bagot

ext: Add extension trait re-exports

The ext module in bitcoin is supposed to hold re-exports of all
extension traits. During the recent crypto and taproot-primitives moves
some new extension traits were added but not re-exported from ext.

Add NetworkExt, TargetExt, WorkExt, TapLeafHashExt, TapNodeHashExt, and
PrivateKeyExt extension trait re-exports to ext module.

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

This commit is a straightforward API cleanup: it adds missing re-exports of existing extension traits to a central 'ext' module so users can import them from one place. No code behavior changes, no bug fixes, and no security relevance.

Security candidateRun the formatterby Mitchell Bagot · ad434204 · Apr 24, 2026 · 4 filesMessage 28 · OpaqueInformational 15Details
Commit message · Mitchell Bagot

Run the formatter

28/100 · OpaqueMessage clarity
✓ Subject identifies a change! No meaningful explanatory body! Opaque security-relevant change
Why it was queued
cryptography-sensitive path
AI analysis · Informational 15/100

This commit is purely a code-formatting cleanup. It only changes whitespace, line breaks, and import order to match the project's style rules. No program logic, behavior, or security properties were changed.

Security candidateUse drain instead of flushby Tobin C. Harding · 6581b954 · Apr 23, 2026 · 6 filesMessage 68 · AdequateInformational 15Details
Commit message · Tobin C. Harding

Use drain instead of flush

The term 'flush' has meaning already in respect to a std writer thus
impiles that a function with 'flush' in the name would call
`writer.flush()` but we do not.

After debate we reached consensus on the verb 'drain' to replace
'flush'.

Rename all 'flush_to_writer' functions to be `drain_to_writer`
repository wide. To keep our API uniform also re-name `flush_to_vec`
to be `drain_to_vec`.

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 simple rename of internal functions from 'flush_to_writer' and 'flush_to_vec' to 'drain_to_writer' and 'drain_to_vec'. The word 'flush' was confusing because it normally means something specific in I/O code, so the team chose 'drain' instead. No behavior changed, and there is no security issue.

Lower-priorityUpdate the API text filesby Tobin C. Harding · 7666bee9 · Apr 23, 2026 · 2 filesMessage 45 · ThinInformational 15Details
Commit message · Tobin C. Harding

Update the API text files

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This commit only updates generated API text files that list public function names. It renames two functions from 'flush_to_*' to 'drain_to_*' in the documentation snapshots. There is no actual code change, no bug fix, and no security relevance visible in the diff.

AI review queuedMove importby Tobin C. Harding · a9cf222d · Apr 23, 2026 · 1 fileMessage 13 · OpaqueInformational 15Details
Commit message · Tobin C. Harding

Move import

There is an unrelated lint warning, no clue how it started showing up
but its a trivial fix. Move import from one feature gated scope to
another.

13/100 · OpaqueMessage clarity
✓ Provides detailed explanatory context! Very short subject! Too few words to establish purpose
Why it was queued
signing or wallet pathsecond-pass: opaque commit messagesecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit is a minor code cleanup: it moves a Rust import statement (`use core::fmt;`) from one feature-gated code block to another. The change fixes a compiler lint warning and does not alter any program behavior or security logic.

Lower-prioritytest(p2p): Replace encoding logic in `message_blockdata`by rustaceanrob · c3ed16eb · Apr 23, 2026 · 1 fileMessage 72 · AdequateInformational 15Details
Commit message · rustaceanrob

test(p2p): Replace encoding logic in `message_blockdata`

72/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Mentions testing or verification! No meaningful explanatory body
AI analysis · Informational 15/100

This is a small test-only change that swaps one set of encoding helper functions for another inside unit tests. It does not touch production code, network behavior, or any security-sensitive logic.

Lower-prioritytest(p2p): Replace encoding logic in `bip152`by rustaceanrob · de2357b4 · Apr 23, 2026 · 1 fileMessage 67 · AdequateInformational 15Details
Commit message · rustaceanrob

test(p2p): Replace encoding logic in `bip152`

67/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Mentions testing or verification! No meaningful explanatory body
AI analysis · Informational 15/100

This is a small test-only change that swaps one internal encoding helper for another inside the BIP152 test module. It does not touch production code, network handling, or consensus logic, and there is no indication it fixes or introduces a security issue.

Lower-prioritytest(p2p): Replace encoding logic in `message_network`by rustaceanrob · e0a4c5ce · Apr 23, 2026 · 1 fileMessage 72 · AdequateInformational 15Details
Commit message · rustaceanrob

test(p2p): Replace encoding logic in `message_network`

72/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Mentions testing or verification! No meaningful explanatory body
AI analysis · Informational 15/100

This is a small test-only change that swaps out one internal encoding helper for another equivalent one inside unit tests. It does not touch production code, network handling, or any behavior visible to users.

Lower-prioritytaproot-primitives: Add crate externs for public API typesby Mitchell Bagot · f80806a7 · Apr 23, 2026 · 1 fileMessage 73 · AdequateInformational 15Details
Commit message · Mitchell Bagot

taproot-primitives: Add crate externs for public API types

Whenever a crate has types in its public API that come from another
crate, that other crate should be re-exported from the crate root.
taproot-primitives uses types from arbitrary, hashes, secp and serde
in its public API, and thus all of these should be re-exported.

Re-export arbitrary, hashes, secp256k1 and serde from the crate root.

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
AI analysis · Informational 15/100

This commit is a routine Rust crate maintenance change. It makes several underlying libraries publicly visible from the taproot-primitives crate root so that downstream users can refer to those types more conveniently. There is no security issue here.

Security candidatecrypto: Remove bitcoin-io dependencyby Mitchell Bagot · 9f5ece75 · Apr 23, 2026 · 4 filesMessage 73 · AdequateInformational 15Details
Commit message · Mitchell Bagot

crypto: Remove bitcoin-io dependency

With the removal of the io-dependent functions from the key and
signature types, the bitcoin-io dependency can be entirely dropped from
the crypto crate.

Remove bitcoin-io dependency from manifest and update lock files.
Remove io re-export from crate root.

73/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Names security-relevant behavior explicitly
Why it was queued
signing boundarycryptography-sensitive path
AI analysis · Informational 15/100

This commit is a routine cleanup that removes an unused dependency called bitcoin-io from the crypto crate. It only touches package metadata and lock files, not any code that handles keys, signatures, or user data. There is no security issue visible in this change.

Security candidateRemove io methods on public key typesby Mitchell Bagot · dc6c4888 · Apr 23, 2026 · 2 filesMessage 78 · AdequateInformational 17Details
Commit message · Mitchell Bagot

Remove io methods on public key types

The read_from and write_into functions on the public key types rely on
the bitcoin-io Read and Write traits. Since we want to remove the
dependence on io for the crypto crate, these methods must also be
removed. With the Serialized* types, the write_into methods are trivial
to replace inline.

Remove read_from and write_into methods from public key types and test
case for them.

78/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
Why it was queued
cryptography-sensitive pathsigning or wallet path
AI analysis · Informational 17/100

This commit removes convenience methods for reading and writing public keys from/to byte streams in the rust-bitcoin crypto crate. It is a routine API cleanup to reduce dependency on the bitcoin-io crate, not a security fix. There is no evidence in the commit or supplied references that this change addresses a vulnerability.

Lower-priorityUpdate the API text filesby Tobin C. Harding · 8c0c2998 · Apr 22, 2026 · 3 filesMessage 45 · ThinInformational 15Details
Commit message · Tobin C. Harding

Update the API text files

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This commit only updates three generated API text snapshot files to reflect that a function now takes a mutable reference to its engine argument instead of taking ownership. There is no actual source code change in the commit, and nothing in the commit message or diff indicates a security issue.

Security candidatehashes: change engine parameter to be mutable referenceby yancy · 688cf1e7 · Apr 22, 2026 · 3 filesMessage 73 · AdequateInformational 18Details
Commit message · yancy

hashes: change engine parameter to be mutable reference

Allow engine parameter to be less restrictive in use. By changing the
parameter to `&mut`, the calling function no longer needs give up
ownership of engine.

The return value is removed since the caller can simply use existing
ownership of variable instead of the return value.

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Why it was queued
cryptography-sensitive path
AI analysis · Informational 18/100

This is a routine internal API cleanup in the rust-bitcoin hashing library. A helper function that feeds data into a hash calculator is changed so callers pass in the calculator by mutable reference instead of handing it over and getting it back. No security vulnerability is present in the diff; it is a usability and ownership-style refactor.

Lower-priorityCorrect `emoty` typo to `empty`by Abeeujah · 4371ac21 · Apr 22, 2026 · 1 fileMessage 45 · ThinInformational 15Details
Commit message · Abeeujah

Correct `emoty` typo to `empty`

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
AI analysis · Informational 15/100

This commit fixes a spelling mistake in an error message: 'emoty' was corrected to 'empty'. It does not change any program logic, behavior, or security properties.

Lower-prioritySkip Encode/Decode Mutations that hangby Abeeujah · 1d89db99 · Apr 22, 2026 · 1 fileMessage 68 · AdequateInformational 15Details
Commit message · Abeeujah

Skip Encode/Decode Mutations that hang

Generating mutants for Encode/Decode `advance` and `push_bytes` methods
causes an infinite loop and forcing the generated mutant to TIMEOUT.

This patch adds the skip directive in the mutants configuration file
for cargo-mutants to skip mutating the code path when generating
mutants.

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

This change only updates the project's mutation-testing configuration file. It tells the cargo-mutants tool to skip generating certain test mutants for encoding/decoding methods because those artificial mutations would make the test suite hang. It does not change any production code, protocol behavior, or security-relevant logic.

Lower-priorityImplement TestNode to test MerkleNodeby Abeeujah · ff86b5ad · Apr 22, 2026 · 1 fileMessage 78 · AdequateInformational 15Details
Commit message · Abeeujah

Implement TestNode to test MerkleNode

MerkleNode trait has a default impl for `calculate_root` function,
this default impl is getting overriden by `WitnessMerkleNode` and
`TxMerkleNode` which uses `calculate_root_batched` on `std+x86_64`
targets, causing the default `calculate_root` impl to be missed
when mutants are generated against it.

TestNode is a test only implementation which uses the default
MerkleNode `calculate_root` function, to provide test coverage,
ensuring no mutants generated against it was missed.

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 adds new test code. It introduces a fake test-only Merkle node type so the project's mutation-testing tool can exercise a default trait method that real node types override on common CPU platforms. There is no change to production code, no bug fix, and no security-relevant behavior change.

Security candidatehashes: Add 4-way dispatcherby jrakibi · e26ee477 · Apr 22, 2026 · 1 fileMessage 60 · AdequateInformational 17Details
Commit message · jrakibi

hashes: Add 4-way dispatcher

add x86 sha256d dispatcher that handles 4-way SSE4.1

60/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
Why it was queued
cryptography-sensitive path
AI analysis · Informational 17/100

This commit adds a new performance optimization for SHA-256 hashing on modern x86 processors. It introduces a code path that processes four blocks at once using SSE4.1 instructions when available. There is no indication in the commit that this fixes a security vulnerability; it appears to be a routine performance improvement.

Security candidatehashes: fold 4-way SSE4.1 SHA256d into round! macroby jrakibi · d2f8f6f5 · Apr 22, 2026 · 1 fileMessage 73 · AdequateInformational 18Details
Commit message · jrakibi

hashes: fold 4-way SSE4.1 SHA256d into round! macro

use a round! macro to cut ~1000 lines from the unrolled version.
each round becomes a single round!(...) call. it almost matches Core
line-by-line, so it's easy to compare and review against sha256_sse41.cpp.

refactor, no behavior change.

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Why it was queued
cryptography-sensitive path
AI analysis · Informational 18/100

This commit is a code cleanup in the Bitcoin library's SHA-256 hashing code. It replaces roughly 1,000 lines of manually repeated calculation steps with a few short macros that generate the same steps automatically. The author explicitly calls it a refactor with no behavior change, and the constants and arithmetic operations appear unchanged.

Security candidatehashes: Add 4-way SSE4.1 SHA256d for 64-byte inputby jrakibi · ea0f3035 · Apr 22, 2026 · 2 filesMessage 73 · AdequateInformational 16Details
Commit message · jrakibi

hashes: Add 4-way SSE4.1 SHA256d for 64-byte input

add the three transforms for sha256(sha256(64_bytes)) using SSE4.1 SIMD.

SSE4.1 uses 128-bit registers, so we can pack four 32-bit words into
each register and compute 4 independent hashes in parallel with a
single SIMD op.

- Transforms 1 & 2 compute the inner `sha256(64_bytes)`.
- Transform 3 computes sha256(output_of_T1_and_T2).

rounds are fully unrolled (we will use a round! macro to fold them
in the next patch).

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Why it was queued
cryptography-sensitive path
AI analysis · Informational 16/100

This commit adds a new, faster way to calculate SHA256d hashes for 64-byte inputs on modern Intel/AMD processors using SSE4.1 CPU instructions. It is a pure performance optimization and does not appear to fix or introduce a security vulnerability based on the code shown. However, because it is new cryptographic code, any bug in it could in principle produce wrong hash results, which would be a correctness issue rather than a direct security flaw.

Lower-prioritytaproot-primitives: Correctly gate alloc on alloc featureby Mitchell Bagot · 4b8f4e9f · Apr 22, 2026 · 1 fileMessage 73 · AdequateInformational 17Details
Commit message · Mitchell Bagot

taproot-primitives: Correctly gate alloc on alloc feature

At the moment, the taproot-primitives crate always externs alloc,
even for no-alloc builds. This means that certain alloc types are
used even for no-alloc builds, which will break builds that actually
have no alloc available.

Correctly gate alloc extern behind alloc feature and gate macro
invocations that require alloc.

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
AI analysis · Informational 17/100

This is a build-system fix for a Rust crate that supports both memory-allocator and no-allocator environments. The crate was always pulling in the standard memory allocator even when a user explicitly requested a no-allocator build, which would cause compilation to fail on platforms without an allocator. The patch simply adds the correct on/off switch so the allocator is only used when the corresponding feature is enabled. There is no runtime security vulnerability or exploit here.

Lower-prioritytaproot-primitives: Add hex feature and correctly gate hex usageby Mitchell Bagot · 34807d70 · Apr 22, 2026 · 3 filesMessage 73 · AdequateInformational 19Details
Commit message · Mitchell Bagot

taproot-primitives: Add hex feature and correctly gate hex usage

While taproot-primitives itself doesn't directly implement
functionality using hex-conservative, it does so through macros from
hashes. As with all other crates upstream of bitcoin, inclusion of
hex related functionality should be gated behind a hex feature.

Introduce hex feature. Gate all hex usage behind the feature.

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
AI analysis · Informational 19/100

This commit is a feature-gating cleanup, not a fix for an active security flaw. The taproot-primitives crate was always enabling hex (base-16 string) support for its hash types, even when downstream users did not ask for it. The change adds an explicit 'hex' feature, turns it off by default, and makes the bitcoin crate request it explicitly. This gives users more control and avoids pulling in unneeded functionality, but it does not patch a vulnerability that can be directly exploited.