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 queue2070AI analyses
181commits · 30 days
400commits · 60 days
1283commits · 180 days
2052commits · 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 Bagot640192640068
Tobin C. Harding40965409063
jrakibi944994068
Nick Johnson18920189059
Andrew Poelstra512051075
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 0 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-priorityUpgrade hex-conservative 0.3.* to 0.3.2by Nick Johnson · e3868dfc · Mar 16, 2026 · 9 filesMessage 45 · ThinInformational 3Details
Commit message · Nick Johnson

Upgrade hex-conservative 0.3.* to 0.3.2

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

This commit only bumps the version of a small helper library (hex-conservative) used for converting bytes to and from hexadecimal strings. No code behavior in rust-bitcoin itself is changed, and the commit message gives no indication that this is a security fix.

Security candidateAdd _secret_ to functions that take and return secret bytesby Mitchell Bagot · e3d39953 · Mar 16, 2026 · 1 fileMessage 85 · StrongInformational 20Details
Commit message · Mitchell Bagot

Add _secret_ to functions that take and return secret bytes

In order to make it immediately clear to users when they are working
with or needing secret bytes, all functions that take and return
secret bytes should include the word secret in the function name.

Add _secret_ to all functions in Keypair and PrivateKey that take and
return secret bytes.
Rename from_byte_array to from_secret_bytes.

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode
Why it was queued
cryptography-sensitive path
AI analysis · Informational 20/100

This commit is a routine API rename with no security bug. It renames functions in the Rust Bitcoin library that handle private key bytes so their names include the word 'secret' (for example, 'to_vec' becomes 'to_secret_vec' and 'from_byte_array' becomes 'from_secret_bytes'). The goal is to make it more obvious to developers when they are working with sensitive secret material. The actual behavior of the code is unchanged.

Security candidateRemove all crate-level alloc feature gatesby Mitchell Bagot · 99b7c289 · Mar 16, 2026 · 4 filesMessage 68 · AdequateInformational 17Details
Commit message · Mitchell Bagot

Remove all crate-level alloc feature gates

In addresses, base58, crypto and key_expression, all functionality in
the crate is gated on the alloc feature through a crate-level alloc
feature gate. In some cases, the ordering of the #![no_std] and alloc
gate cause problems with linking against std for no-alloc builds. In
order to completely avoid the potential of that problem, and unify the
crates with the others, all crate-level feature gates should be removed
and replaced with alloc gates on all types and functionality.

Remove crate-level alloc feature gate from addresses, base58, crypto
and key_expression, replacing them with individual feature gates where
necessary.

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

This commit is a build-system cleanup, not a security fix. It removes crate-wide switches that made entire Rust sub-crates disappear when the 'alloc' feature was off, and instead marks individual functions and types as requiring 'alloc'. The stated reason is to fix linking problems in no-alloc builds, not to patch a vulnerability. There is no evidence in the commit of an exploitable bug.

Security candidatepsbt: Handle underflow on small key byte lengthby Mitchell Bagot · ef822345 · Mar 16, 2026 · 1 fileMessage 80 · StrongModerate 65Details
Commit message · Mitchell Bagot

psbt: Handle underflow on small key byte length

In PSBT keys, a change was recently introduced to allow for multi-byte
key type values. In this change, the key data length was changed to
calculate based on the total key length, subtracting the byte count of
the key type compact size value. For malformed PSBT inputs where the
total key length is insufficient to cover the type value compact size,
this causes an underflow in the subtraction, panicing on debug and
potentially causing incorrect behaviour for release.

Instead, this calculation should use a checked_sub, erroring gracefully
when this underflow would otherwise occur.

Change key data length calculation to use checked_sub and return an
InvalidKey error when the total key length value is invalid to parse
the key type correctly.

80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode
Why it was queued
signing boundarysigning or wallet path
AI analysis · Moderate 65/100

This commit fixes a bug in how the library reads PSBT (Partially Signed Bitcoin Transaction) keys. A recent change accidentally made it possible for a malformed input to cause an arithmetic underflow when calculating how many bytes of key data remain. In debug builds that would panic (crash); in release builds it could wrap around and behave incorrectly. The fix uses a safe checked subtraction and returns a proper parsing error instead.

AI review queuedRemove honggfuzz inputsby Shing Him Ng · 9a1149fd · Mar 16, 2026 · 438 filesMessage 43 · ThinInformational 15Details
Commit message · Shing Him Ng

Remove honggfuzz inputs

We have switched over to libfuzzer, so these honggfuzz inputs are no
longer needed

43/100 · ThinMessage clarity
✓ Subject identifies a change✓ Provides an explanatory body
Why it was queued
fuzzing or regression evidencesigning or wallet pathsecond-pass: unusually broad changesecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit simply deletes old fuzzing test input files that were used with the honggfuzz tool. The project has switched to a different fuzzer (libfuzzer), so these files are no longer needed. No code changes were made, and there is no security fix or vulnerability introduced.

AI review queuedFix decoder and encoder re-exportsby Mitchell Bagot · d427a7ff · Mar 16, 2026 · 6 filesMessage 90 · StrongInformational 18Details
Commit message · Mitchell Bagot

Fix decoder and encoder re-exports

The bitcoin crate should always be a superset of primitives, and
primitives a superset of units. Due to a filter check in
generate-bitcoin-re-export-test.sh, encoder and decoder types and their
associated errors are not being caught missing from bitcoin.

Remove the encoder/decoder type filter and add pub use (re-exports) to
generate-bitcoin-re-export-test.sh and correctly re-export all required
types.
Add pub use check to primitives re-export script.

90/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Mentions testing or verification
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 18/100

This commit fixes missing public re-exports of encoder/decoder types and their error types in the rust-bitcoin crate. It is a packaging/API consistency fix: the bitcoin crate is meant to expose everything primitives exposes, and primitives everything units exposes. The change adds those missing re-exports and updates the test scripts that check this property. There is no indication of a runtime vulnerability, memory corruption, or exploit path.

Security candidateMigrate from Honggfuzz to libfuzzerby Shing Him Ng · 35c0b9d3 · Mar 14, 2026 · 44 filesMessage 78 · AdequateInformational 15Details
Commit message · Shing Him Ng

Migrate from Honggfuzz to libfuzzer

This commit has a few main parts:

- Update CI to install required dependencies for libfuzzer
The default Cross s390x image uses an older version of GCC (Ubuntu
20.04), which lacks std::clamp needed by libfuzzer-sys. The s390x
Dockerfile provides Cross with a container with GCC 13, native build
tools, and QEMU for running s390x tests. Cross.toml configures Cross to
use this custom image instead of the default.

- Update the lock files
- Update the fuzz targets to use libfuzzer
- Update the fuzz helper scripts and documentation
- Update the duplicate dependency whitelist to include libc
- Move `fuzz` into a nested workspace

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

This commit is a maintenance change that switches the project's fuzz testing framework from Honggfuzz to libfuzzer (cargo-fuzz). It updates build files, CI configuration, documentation, and fuzz target source files to use the new framework. There is no change to the actual Bitcoin library code that end users or applications depend on, and no security vulnerability is introduced or fixed.

Lower-priorityAutomated update to Github CI to rustc nightly-2026-03-13by Update Nightly Rustc Bot · e451625e · Mar 14, 2026 · 1 fileMessage 50 · ThinInformational 15Details
Commit message · Update Nightly Rustc Bot

Automated update to Github CI to rustc nightly-2026-03-13

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

This commit simply updates the version of the Rust nightly compiler used by the project's GitHub CI (continuous integration) from one nightly build to a newer one. It changes only one line in a configuration file. There is no code change, no bug fix, and no security-relevant change visible in the diff.

AI review queuedFix decoder error Display and source implsby busayo-OD · 7bfeae68 · Mar 13, 2026 · 6 filesMessage 45 · ThinInformational 18Details
Commit message · busayo-OD

Fix decoder error Display and source impls

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

This commit fixes how several Bitcoin data-decoding error types print messages and report their underlying cause. The changes are cosmetic/correctness improvements to error formatting and the `source()` chain used by Rust's standard error handling. There is no evidence of a security vulnerability, remote exploit, or memory-safety bug in the diff.

Security candidateRemove Display from PrivateKeyby Mitchell Bagot · c04f2dd2 · Mar 13, 2026 · 3 filesMessage 58 · ThinLow 38Details
Commit message · Mitchell Bagot

Remove Display from PrivateKey

As part of the work in hiding secret data in keys, we want to remove
the Display impl for PrivateKey. Users may still display the secret
data using to_wif, or by calling display_secret on the inner key.

Remove Display from PrivateKey.

58/100 · ThinMessage clarity
✓ Descriptive subject✓ Provides detailed explanatory context
Why it was queued
cryptography-sensitive path
AI analysis · Low 38/100

This change removes the ability to accidentally print a Bitcoin private key using Rust's standard '{}' formatting. Before, code like println!("{}", private_key) would expose the secret key. Now developers must explicitly call .to_wif() or similar methods, making secret leakage less likely through casual logging or error messages. It is a defensive hardening improvement, not a fix for an active exploit.

Security candidateRemove Index<RangeFull> from PrivateKeyby Mitchell Bagot · e4d46398 · Mar 13, 2026 · 1 fileMessage 68 · AdequateLow 29Details
Commit message · Mitchell Bagot

Remove Index<RangeFull> from PrivateKey

The Index trait allows for indexing on the PrivateKey type. Since we're
working towards hiding secret data in the PrivateKey, this trait should
not be included on the PrivateKey type.

Remove Index<RangeFull> impl on PrivateKey.

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 · Low 29/100

This commit removes the ability to use square-bracket slicing (like `private_key[..]`) on a Bitcoin private key. The change is part of a longer-term effort to prevent secret key material from being accidentally exposed through Rust's indexing features. It is a hardening cleanup rather than a fix for an active security flaw.

Security candidateAdd hex Display formatting for taproot::Signatureby Mitchell Bagot · bf3d769c · Mar 13, 2026 · 1 fileMessage 83 · StrongInformational 19Details
Commit message · Mitchell Bagot

Add hex Display formatting for taproot::Signature

The ecdsa signature has display formatting which roundtrips with the
corresponding FromStr impl. The taproot signature has no such display
capabilities.

Introduce Display impl on taproot::Signature.
Add test for hex roundtrip with Display + FromStr and FromStr error.

83/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification✓ Names security-relevant behavior explicitly
Why it was queued
signing boundarycryptography-sensitive path
AI analysis · Informational 19/100

This commit adds a human-readable hex display format for Taproot signatures in the rust-bitcoin library, matching a similar feature already available for ECDSA signatures. It is a straightforward feature addition with tests and does not fix any security bug.

Security candidateAdd hex string parsing for taproot::Signatureby Mitchell Bagot · e31b80ee · Mar 13, 2026 · 1 fileMessage 73 · AdequateInformational 19Details
Commit message · Mitchell Bagot

Add hex string parsing for taproot::Signature

The ecdsa::Signature can roundtrip to hex, but taproot::Signature
cannot.

Add FromStr for taproot::Signature and ParseSignatureError as an error
type.

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

This commit adds a new feature: the ability to parse a Taproot cryptographic signature from a hexadecimal text string. Previously only ECDSA signatures could be parsed this way. The change is purely additive and does not fix any known bug or vulnerability. It simply exposes a new parsing function to users of the library.

Lower-priorityp2p: Add CommandStringEncoder newtypeby Mitchell Bagot · b25cbb22 · Mar 13, 2026 · 1 fileMessage 70 · AdequateInformational 15Details
Commit message · Mitchell Bagot

p2p: Add CommandStringEncoder newtype

The CommandString type implements encoding::Encodable using the
ArrayEncoder type. In order to provide semantic clarity and match
standard implementations, this should be named CommandStringEncoder.
Due to issues with lifetimes on the CommandString and encoder in the
V1NetworkMessage, it is necessary to implement the newtype encoder
manually without using the encoder_newtype macro.

Add CommandStringEncoder encoder type that wraps ArrayEncoder<12> and
replace relevant uses of ArrayEncoder with it.

70/100 · AdequateMessage clarity
✓ Descriptive subject✓ Provides detailed explanatory context✓ Explains rationale or failure mode
AI analysis · Informational 15/100

This commit is a simple internal code cleanup in the Bitcoin peer-to-peer networking code. It renames a generic array-based encoder to a more specific 'CommandStringEncoder' for the 12-byte command strings used in Bitcoin network messages. There is no change to behavior, data formats, or security properties.

Security candidatehashes: conservative upgrade to workspace lintsby Nick Johnson · 28ad2d31 · Mar 13, 2026 · 22 filesMessage 45 · ThinInformational 15Details
Commit message · Nick Johnson

hashes: conservative upgrade to workspace lints

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

This commit is a code-quality and linting cleanup for the `hashes` crate in rust-bitcoin. It moves the crate to use shared workspace lint rules, adds clippy allow attributes, fixes minor style issues (semicolons, doc formatting, import lists), and adds documentation comments. There are no functional changes to hash algorithms or public APIs, and no security bug is introduced or fixed.

Lower-priorityhashes: drop unused cfg flagby Nick Johnson · 44e3ff8f · Mar 13, 2026 · 1 fileMessage 45 · ThinInformational 15Details
Commit message · Nick Johnson

hashes: drop unused cfg flag

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

This commit removes an unused compiler configuration flag from a linting rule in the package manifest. It is a cleanup change with no security relevance.

Security candidateMove impl_array_newtype_stringify to includeby Mitchell Bagot · 6df5edae · Mar 12, 2026 · 2 filesMessage 58 · ThinInformational 15Details
Commit message · Mitchell Bagot

Move impl_array_newtype_stringify to include

The impl_array_newtype_stringify macro is an internal macro in bitcoin
that is used in bip32 and other logic. As part of the separation of
bip32 functionality into a new crate, this macro will be needed.

Split impl_array_newtype_stringify into a module in include/ directory
and include! in existing location in bitcoin.

58/100 · ThinMessage clarity
✓ Descriptive subject✓ Provides detailed explanatory context
Why it was queued
secret or key material
AI analysis · Informational 15/100

This commit simply moves an existing internal Rust macro from one file to another shared location. The code itself is unchanged; it is a pure refactoring to prepare for splitting a crate. There is no security-relevant change.

Lower-priorityunits: Fix holes in API surface testby Tobin C. Harding · 61dccf11 · Mar 12, 2026 · 1 fileMessage 70 · AdequateInformational 15Details
Commit message · Tobin C. Harding

units: Fix holes in API surface test

Use claude to check if we missed anything in the API surface test and
it turns out we did.

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

This commit only adds missing test coverage for public API surface. It adds a new error type to an existing test struct and a new test that checks public types from the `result` module can be imported. There is no code behavior change, no bug fix, and no security relevance.

Security candidateMake crate headers uniformby Tobin C. Harding · 36db3222 · Mar 12, 2026 · 7 filesMessage 66 · AdequateInformational 15Details
Commit message · Tobin C. Harding

Make crate headers uniform

I incorrectly churned this in #4667 which was pointed out in #5720 but
only fixed in the stabalizing crates. Now its been done in `hashes`
and again confused me so just do the whole repo already.

66/100 · AdequateMessage clarity
✓ Descriptive subject✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
Why it was queued
cryptography-sensitive path
AI analysis · Informational 15/100

This commit only changes the wording and formatting of documentation comments at the top of seven source files. It makes crate header titles uniform by adding '#' markers and adjusting capitalization. There are no code changes, no security fixes, and no behavior changes.

Lower-priorityprimitives: Fix holes in API surface testby Tobin C. Harding · f5ffbd62 · Mar 12, 2026 · 1 fileMessage 70 · AdequateInformational 15Details
Commit message · Tobin C. Harding

primitives: Fix holes in API surface test

Use claude to check if we missed anything in the API surface test and
it turns out we did.

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

This commit only updates an internal test file that checks the public API surface of the `bitcoin_primitives` crate. It adds missing types (like `Ntxid`, `BlockChecked`, script buffer types) to compile-time API tests and enables a previously commented-out iterator field. There is no change to production code, no bug fix, and no security relevance.

Lower-priorityUpdate the API text filesby Tobin C. Harding · 0022a290 · Mar 12, 2026 · 7 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 to reflect that a new public dependency called `encoding` is now exposed by several Rust Bitcoin crates. There are no code changes, no bug fixes, and no security-related content.

Lower-priorityRe-export the consensus-encoding crateby Tobin C. Harding · f2162fa5 · Mar 12, 2026 · 5 filesMessage 60 · AdequateInformational 15Details
Commit message · Tobin C. Harding

Re-export the consensus-encoding crate

For all crates upstream of `bitcoin` re-export `encoding` at the crate
root.

This is by convention.

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

This commit simply makes an internal helper crate (consensus-encoding) visible at the top level of several related Rust crates. It is a routine API-organization change with no security implications.

Security candidatedocs: Favour Constructs over Createsby Tobin C. Harding · bab4f99c · Mar 12, 2026 · 2 filesMessage 72 · AdequateInformational 15Details
Commit message · Tobin C. Harding

docs: Favour Constructs over Creates

We decided a while back to favour `/// Constructs ...` but some
`/// Creates ...` have snuck in again.

72/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body
Why it was queued
cryptography-sensitive path
AI analysis · Informational 15/100

This commit only changes two words in code comments, replacing 'Creates' with 'Constructs' in documentation. There is no change to actual program logic, no security fix, and no behavior change.

Lower-priorityActually put the encoder trait impls firstby Tobin C. Harding · 849e35be · Mar 12, 2026 · 1 fileMessage 68 · AdequateInformational 15Details
Commit message · Tobin C. Harding

Actually put the encoder trait impls first

In commit:

84c51a8ea1c05b1ff1b8249793f9c1e0491aaee0 BlockHash: Move Encodable and Decodable trait impls

I wrote:

Put the trait impls first. They are the most important thing in
regards to the encoding/decoding logic, put them first and the
supporting types and code next.

As correctly pointed out by Yancy this description does not correctly
describe the state of the code after that patch was merged. The
encoder newtype was put first but should be moved _below_ the trait
impls.

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

This commit simply reorders code in a single Rust source file. It moves the implementation of encoding/decoding traits above the helper 'encoder newtype' struct so the file matches the author's earlier stated intention. There is no functional change, no bug fix, and no security relevance.

Security candidateexamples: Use NetworkKind in call to PrivateKey::from_secby Tobin C. Harding · 6012d8a4 · Mar 11, 2026 · 1 fileMessage 90 · StrongInformational 15Details
Commit message · Tobin C. Harding

examples: Use NetworkKind in call to PrivateKey::from_sec

Guide users to the `NetworkKind` by calling `PrivateKey::from_secp`
with it. Done because I was confused the other day why private key
needed the network and I've been hacking on this library for 5 years
now ...

90/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Names security-relevant behavior explicitly
Why it was queued
secret or key material
AI analysis · Informational 15/100

This is a tiny documentation-style change to an example file. It swaps one way of saying 'use the Bitcoin main network' for another equivalent way, with no effect on actual code behavior or security.