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 queue1601AI analyses
183commits · 30 days
403commits · 60 days
1283commits · 180 days
2058commits · 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 Bagot640192572068
Tobin C. Harding40965281063
jrakibi944982068
Nick Johnson18920156059
Andrew Poelstra512035075
Jamil Lambert, PhD1141867061
Fmt Bot311426045
Trevor Arjeski111111069
Shing Him Ng31726056
Ismail Daif22622050
satsfy (Renato Britto)17617066
Martin Habovstiak27527069
Analysis record

Published AI watches

Last scanned 31 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.

Security candidateAdd `SerializedLegacyPublicKey`by Martin Habovstiak · ed1dfce2 · Apr 16, 2026 · 1 fileMessage 48 · ThinInformational 15Details
Commit message · Martin Habovstiak

Add `SerializedLegacyPublicKey`

The legacy public keys can be serialized as compressed or uncompressed
which was annoying to deal with since serializing them involved either a
heap alloction or branches. A stack-allocated type holding any key was
needed for a long tim.

This commit finally adds `SerializedLegacyPublicKey` which behaves
similarly to `SerializedSignature` - holding `ArrayVec<u8, 65>` to be
able to represent any of the keys. While this could've been more
efficient, taking advantage of the first byte encoding length, let's
stick with something simple at least for now.

48/100 · ThinMessage clarity
✓ Descriptive subject✓ Provides detailed explanatory context! Too few words to establish purpose
Why it was queued
signing boundarycryptography-sensitive path
AI analysis · Informational 15/100

This commit adds a new helper type for storing Bitcoin legacy public keys in their serialized form without needing a heap allocation. It is a routine internal API improvement and does not fix any security bug or change how keys are validated.

AI review queuedUpdate API filesby Mitchell Bagot · 2fcb9d08 · Apr 16, 2026 · 1 fileMessage 28 · OpaqueInformational 15Details
Commit message · Mitchell Bagot

Update API files

28/100 · OpaqueMessage clarity
✓ Subject identifies a change! 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 listing the public API surface of the crate. It records that a new error type, FromHexError, is now part of the public API. There is no code change, no bug fix, and no security relevance visible in the diff.

Lower-priorityprimitives: Re-export all the public amount error typesby Mitchell Bagot · b60a2144 · Apr 16, 2026 · 2 filesMessage 73 · AdequateInformational 15Details
Commit message · Mitchell Bagot

primitives: Re-export all the public amount error types

With the introduction of 'error' modules throughout primitives, we can
re-export all of the public errors no_inline.

Re-export remaining errors (only FromHexError) in the super module of
their error module definitions.

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 code organization change. It makes an existing error type (FromHexError) visible in more places by re-exporting it, so users of the library can import it more conveniently. There is no change to how errors are handled or any security-sensitive behavior.

Lower-priorityio: Make error module public and re-export errors no-inlineby Mitchell Bagot · c324f903 · Apr 15, 2026 · 2 filesMessage 73 · AdequateInformational 15Details
Commit message · Mitchell Bagot

io: Make error module public and re-export errors no-inline

In io, the error module is currently private, with all errors
re-exported inline in the crate root. Following the standard set in the
other crates, errors should instead be located in a submodule and
re-exported with #[doc(no_inline)].

Move ReadError to error module.
Make error module pub.
re-export all error types in crate root with no_inline.

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 code reorganization. It moves an existing error type (ReadError) into a dedicated public submodule and changes how it is re-exported in documentation. There is no functional change to how the code behaves, no bug fix, and no security improvement or regression.

Lower-priorityAdd symlink to shared include to each crateby Mitchell Bagot · 5eb499a1 · Apr 15, 2026 · 13 filesMessage 68 · AdequateInformational 15Details
Commit message · Mitchell Bagot

Add symlink to shared include to each crate

The include directory in the base of the workspace is used to hold code
that is copy-pasted into different crates through the include! macro.
On release, since these files exist outside of the crate directory, the
macro fails to compile. The short-term solution is to symlink and
update the include! paths until a better solution can be found.

Add symlink to shared include directory for each crate and update
include! paths to point at the symlink to satisfy in-crate location
requirements of cargo.

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

This commit adds symbolic links (shortcuts that point to another folder) inside each Rust crate to a shared 'include' directory at the workspace root, and updates source code to use these symlinks. It is a build/packaging fix so that code shared across crates can be found when the crates are published individually to crates.io. There is no security-relevant change here.

AI review queuedUpdate API filesby Mitchell Bagot · 16a0c9dc · Apr 15, 2026 · 3 filesMessage 28 · OpaqueInformational 15Details
Commit message · Mitchell Bagot

Update API files

28/100 · OpaqueMessage clarity
✓ Subject identifies a change! No meaningful explanatory body
Why it was queued
documentation-only discountsecond-pass: opaque commit message
AI analysis · Informational 15/100

This commit only updates generated API snapshot text files to reflect that two existing types (Target and Work) now also implement Binary and Octal formatting traits in addition to the formatting traits they already supported. There is no code change, no bug fix, and no security relevance visible in the diff.

Lower-priorityAdd format traits for Work and Targetby Mitchell Bagot · af8a8401 · Apr 15, 2026 · 2 filesMessage 68 · AdequateInformational 15Details
Commit message · Mitchell Bagot

Add format traits for Work and Target

Following the move of the pow types Target and Work to units, they
now fail to match the expectations for formatting of integer wrapper
newtypes established in units.

Add Octal and Binary implementations to Target and Work and adjust
Lower/UpperHex to be implemented through crate internal macro.

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

This commit adds new ways to print two internal numeric types (Target and Work) in binary and octal formats, and reorganizes existing hexadecimal printing code. It is a routine formatting/ergonomics improvement with no security relevance.

Lower-priorityUpdate the API text filesby Tobin C. Harding · 30d6d178 · Apr 14, 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 generated API text snapshots for the rust-bitcoin 'units' crate. It records that some public error types now use new wrapper types (IncompatibleHeightError/IncompatibleTimeError) instead of raw numeric types. There is no actual code change, no bug fix, and no security-relevant behavior change in this commit itself.

Lower-priorityunits: Encapsulate locktime errorsby Tobin C. Harding · 5ef43d35 · Apr 14, 2026 · 2 filesMessage 58 · ThinInformational 15Details
Commit message · Tobin C. Harding

units: Encapsulate locktime errors

Remove two TODOs from the code by encapsulating a couple of errors.
Note the pair height/time - the error is named after the enum it
appears in not after the type it holds.

58/100 · ThinMessage clarity
✓ Descriptive subject✓ Provides detailed explanatory context
AI analysis · Informational 15/100

This is a routine code cleanup in the rust-bitcoin library. It wraps two error values inside new dedicated error types so callers can no longer directly read the raw number inside. The change does not alter what errors are produced, only how they are packaged. There is no security fix here.

Lower-priorityUpdate the API text filesby Tobin C. Harding · 2123a882 · Apr 14, 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 generated API text files that list what types and functions are publicly visible in the library. It does not change any actual code, behavior, or fix any bug. It is a documentation-like snapshot of the public interface and has no security relevance on its own.

Lower-priorityconsensus_encoding: Improve the API testby Tobin C. Harding · be9ffcab · Apr 14, 2026 · 1 fileMessage 98 · StrongInformational 15Details
Commit message · Tobin C. Harding

consensus_encoding: Improve the API test

Go over the API test and try to ensure it covers what we want it to.
Remember these API test files are mainly so devs can look and check
stuff is sane. They also kind of work as documentation of what the
crate does all in one spot.

I did this by looking at the state of `units/test/api.rs` after #5890
is applied (because I reworked that file the other day).

98/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference
AI analysis · Informational 15/100

This commit only expands the project's API test file. It adds more type coverage, checks that Debug output is non-empty for additional types, and verifies that a specific error type can be formatted with Debug. There are no changes to production code, no bug fixes, and no security-related behavior changes.

Lower-priorityprimitives: enable batched merkle root computation for x86by jrakibi · 0c8ba186 · Apr 14, 2026 · 1 fileMessage 50 · ThinInformational 18Details
Commit message · jrakibi

primitives: enable batched merkle root computation for x86

50/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
AI analysis · Informational 18/100

This commit simply turns on an existing, faster way to calculate Merkle roots for Intel/AMD (x86 and x86_64) processors. It was already enabled for ARM64 (aarch64). There is no security bug here; it is a small performance portability change.

Lower-priorityFix AddrV1 Decoder Typographical Errorby Abeeujah · d059b9f0 · Apr 14, 2026 · 1 fileMessage 68 · AdequateInformational 15Details
Commit message · Abeeujah

Fix AddrV1 Decoder Typographical Error

Correct the doc comment on `AddrV1MessageDecoder` to correctly mention
the `AddrV1Message` as the message format it is decoding, and not
`AddrV2Message`.

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

This commit fixes a typo in a code comment. The comment on the decoder for the older Bitcoin address message format (AddrV1) incorrectly said it decoded the newer format (AddrV2). No actual code behavior changed.

Security candidatehashes: Add x86 SHA-NI 2-way dispatchby jrakibi · 3be195ed · Apr 14, 2026 · 1 fileMessage 60 · AdequateInformational 17Details
Commit message · jrakibi

hashes: Add x86 SHA-NI 2-way dispatch

add x86 sha256d dispatcher that handles 2-way SHA-NI

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 performance optimization for computing SHA-256 hashes on modern x86 processors that support Intel's SHA-NI instructions. It is a routine feature addition, not a security fix or vulnerability patch. There is no indication in the commit that it addresses a security issue.

Security candidatehashes: Interleave two independent hashes for 2-way SHA256dby jrakibi · ee04a988 · Apr 14, 2026 · 1 fileMessage 81 · StrongInformational 17Details
Commit message · jrakibi

hashes: Interleave two independent hashes for 2-way SHA256d

x86 SHA256RNDS2 has a latency of 4-6 cycles depending on
the architecture. the next SHA256RNDS2 needs the result
of the current one as input, so the CPU has to wait until
it is ready. (in Transform 2 for eg, 3 out of every 4 cycles
are wasted doing nothing)

we fill those wasted cycles by computing a second independent
hash alongside the first.

See https://uops.info/html-instr/SHA256RNDS2_XMM_XMM.html
for per-architecture instruction timings.

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
cryptography-sensitive path
AI analysis · Informational 17/100

This commit is a performance optimization for Bitcoin's double-SHA256 hashing on modern Intel/AMD processors. It rewrites a low-level routine to compute two independent hashes at once instead of one, filling idle CPU cycles. There is no security fix or vulnerability here; it is purely about making hashing faster.

Security candidatehashes: Add optimized x86 SHA256d for 64-byte inputby jrakibi · 301c3c16 · Apr 14, 2026 · 1 fileMessage 73 · AdequateInformational 16Details
Commit message · jrakibi

hashes: Add optimized x86 SHA256d for 64-byte input

Add the three transforms for sha256(sha256(64_bytes))

Transforms 1 & 2 compute the inner `sha256(64_bytes)`:

- Transform 1: 64 bytes already fill the first block (no
padding needed), so we apply 64 rounds of compression
normally.
After T1: state = state + initial_state

- Transform 2: the message schedule at this step is constant
and known in advance (64 bytes of padding), so
we precompute W[i]+K[i] into MIDS and apply 64 rounds (no
schedule expansion needed).
After T2: state = state + saved_T1_state
(state now contains sha256(64_bytes))

- Transform 3 computes sha256(output_of_T1_and_T2). The output
is 32 bytes, so the block contains 32 bytes and the rest is
known padding. we precompute the message
schedule for the known words (w8-w15) into FINS.
After T3: state = state + initial_state
(state now contains the sha256d result)

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, highly optimized x86 implementation for computing a double SHA-256 hash (SHA256d) on exactly 64 bytes of input. It uses Intel SHA-NI CPU instructions and precomputed constants to speed up Bitcoin-style hashing. There is no indication in the commit that this fixes a security bug; it appears to be a pure performance optimization.

Lower-priorityunits: Re-export all the public amount error typesby Tobin C. Harding · e2eed8e3 · Apr 14, 2026 · 1 fileMessage 83 · StrongInformational 16Details
Commit message · Tobin C. Harding

units: Re-export all the public amount error types

Now we are adding `errors` modules everywhere we can re-export all the
public `units::amount` errors. In times past we were only going to
re-export the non-niche ones.

This will be tested later in `tests/api.rs`.

83/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
AI analysis · Informational 16/100

This change is purely about making more error types publicly visible from a Rust library module. It does not alter how errors are handled, what data they contain, or any runtime behavior. There is no security issue here.

Lower-priorityunits: Correctly feature guard test codeby Tobin C. Harding · 02dfb738 · Apr 14, 2026 · 1 fileMessage 78 · AdequateInformational 15Details
Commit message · Tobin C. Harding

units: Correctly feature guard test code

We recently started putting all cfg's on their own lines. Fix one we
missed and also feature gate the `ToString` import correctly clearing
a lint warning when building with `alloc` feature.

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 is a minor code-quality fix inside test code only. It adjusts the way optional Rust features are checked so that a warning about an unused import disappears when building with only the 'alloc' feature. There is no change to production code and no security impact.

Security candidatehashes: use consistent round numbering in sha256 commentsby jrakibi · d61ad42b · Apr 14, 2026 · 2 filesMessage 73 · AdequateInformational 15Details
Commit message · jrakibi

hashes: use consistent round numbering in sha256 comments

the 1-way ARM and x86 SHA-NI functions used Rounds 0-3 while
the 2-way ARM function used Rounds 1-4 in the comments.

use this consistently everywhere.

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 15/100

This commit only changes comments in the SHA-256 code. It makes the round-number labels consistent between different versions of the optimized code (ARM and x86). No actual program logic, math, or behavior was changed, so it cannot affect security or correctness.

Lower-priorityExtend bitcoin re-export script to check against unitsby Mitchell Bagot · 87ff6899 · Apr 14, 2026 · 1 fileMessage 73 · AdequateInformational 15Details
Commit message · Mitchell Bagot

Extend bitcoin re-export script to check against units

The public API files generated by the rbmt check-api command provide a
semi-comprehensive set of public API interfaces. In the case where a
crate pub use's a module from another crate (e.g. primitives pub use
units::absolute), the API files fail to outline all content within the
re-exported module. As such, checking bitcoin's re-exports against
primitives alone, misses many type re-exports.

Adjust bitcoin re-export check script to also compare against units.

Assisted by Claude Opus 4.6

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

This commit updates an internal shell script used to generate a Rust test file. The script now also checks that types from a secondary crate (`bitcoin_units`) are correctly re-exported by the main `bitcoin` crate. It is a build/test tooling improvement with no runtime code changes and no security relevance.

Lower-priorityFix re-exports in bitcoin crateby Mitchell Bagot · e037b016 · Apr 14, 2026 · 2 filesMessage 80 · StrongInformational 19Details
Commit message · Mitchell Bagot

Fix re-exports in bitcoin crate

Due to existing limitations in the re-export check scripts, various
types are not correctly re-exported in bitcoin to satisfy the
bitcoin -> primitives -> units superset requirements.

Re-export all missing types from bitcoin.

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

This commit adds missing public re-exports of types in the main 'bitcoin' crate so that downstream users can access types that are defined in the internal 'primitives' and 'units' crates. It is a build/API consistency fix with no apparent security relevance.

Lower-priorityp2p: add encoding trait impls to NetworkMessage encoder/decoderby Peter Zafonte · e8b7b15f · Apr 13, 2026 · 1 fileMessage 73 · AdequateLow 32Details
Commit message · Peter Zafonte

p2p: add encoding trait impls to NetworkMessage encoder/decoder

Migrate NetworkMessageEncoder and NetworkMessageDecoder to use
encoding::encode_to_vec and encoding::decode_from_slice rather than
the legacy bitcoin::consensus::encode traits.

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

This commit refactors how Bitcoin peer-to-peer network messages are encoded and decoded in the rust-bitcoin library. It replaces an older, all-in-one encoding approach with a new system that delegates encoding and decoding to type-specific handlers for each message variant. The change is primarily a code modernization and cleanup, but because it touches the core message parsing path, any mistake could affect how the library reads untrusted network data. The diff itself does not appear to introduce an obvious vulnerability, but it is a large rewrite of security-sensitive parsing code, so the risk comes from potential subtle behavioral differences rather than from a clear bug.

Security candidatehashes: split sha256 crypto int separate filesby jrakibi · a8e9c992 · Apr 13, 2026 · 4 filesMessage 68 · AdequateInformational 15Details
Commit message · jrakibi

hashes: split sha256 crypto int separate files

since we are planning to add other implementations for sha256: 2-way x86 shani,
4-way SSE4.1, and 8-way AVX2, we can split the file so each impl has
its own file without ending up with a single file that is hard to review.

this is just a code move, no logic change.

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 pure file reorganization: it splits the SHA-256 cryptographic implementation from one large file into several smaller files. The author explicitly states there is no logic change, and the diff shows the same code being moved into new modules with only minor module wiring adjustments. There is no security-relevant change visible.

Lower-priorityunits: Remove TODO commentby Tobin C. Harding · 09e5f96b · Apr 13, 2026 · 1 fileMessage 46 · ThinInformational 15Details
Commit message · Tobin C. Harding

units: Remove TODO comment

There is a fix in flight for this: #5875

In case we don't want to wait for that PR to land just remove the
comment so the pre-release job on #5891 can pass.

46/100 · ThinMessage clarity
✓ Descriptive subject✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference! Contains work-in-progress language
AI analysis · Informational 15/100

This commit simply removes a two-line TODO comment from a test file. No code behavior changes, no security fix or vulnerability is introduced.

Lower-priorityunits: Update serde_regression testby Mitchell Bagot · e7ae1cf1 · Apr 12, 2026 · 2 filesMessage 68 · AdequateInformational 15Details
Commit message · Mitchell Bagot

units: Update serde_regression test

The serde_regression test case in units checks for regressions in the
serde implementations for any type in units. Since new types with serde
impls have been added to units, this needs to be updated.

Update the serde_bincode and add Target and Work to Serde test struct
in serde tests.

68/100 · AdequateMessage clarity
✓ Descriptive subject✓ Provides detailed explanatory context✓ Mentions testing or verification
Why it was queued
fuzzing or regression evidence
AI analysis · Informational 15/100

This commit only updates a test file. It adds two new data types (Target and Work) to an existing regression test that checks serialization behavior, and refreshes a binary test fixture. There is no change to production code, no security fix, and no vulnerability.