RB
← All projectsRust Bitcoin

rust-bitcoin

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

BitcoinCryptographic librariesNormal
Repository coverage

2084 commits in the local evidence base

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

461security candidates452second-pass queue2076AI analyses
185commits · 30 days
409commits · 60 days
1296commits · 180 days
2065commits · 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
318Strong · 80–100
1058Adequate · 60–79
557Thin · 40–59
151Opaque · 0–39
20security candidates with opaque commit messaging
Read the scoring rubric →
Developer activity

Who is changing the project?

Public Git author strings; identities are not independently verified.

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

Published AI watches

Last scanned 56 minutes ago

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

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

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

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

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

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

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

Update API files

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

units: reword docs to block count in relative locktime

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

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

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

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

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

ci: fix labeller permissions

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Update the API text files

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

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

Scrub the transaction encoding logic

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

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

Make the WitnessesEncoder private

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

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

Explore captured commits

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

Lower-priorityChange pow_target_spacing to u32by Mitchell Bagot · 943a7863 · Feb 16, 2026 · 2 filesMessage 58 · ThinInformational 19Details
Commit message · Mitchell Bagot

Change pow_target_spacing to u32

The pow_target_spacing is only ever used as a divisor for the
pow_target_timespan (a u32 type) or cast to a u32. The loss of precision
from a u64 is acceptable for the simplicity of use that this change
provides.

Change pow_target_spacing to u32 from u64 in Params.

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

This commit changes a single timing parameter in the Bitcoin network rules code from a 64-bit integer to a 32-bit integer. The value represents the expected seconds between blocks. The change simplifies the code by removing casts, but it slightly reduces the maximum value that parameter can hold. For all real Bitcoin networks this is harmless because the value is small (600 seconds for Bitcoin mainnet, 120 in the example). There is no direct security fix or vulnerability being patched.

Security candidateRemove parity argument and return on add_tweak and tweak_add_checkby Mitchell Bagot · 7370bd7d · Feb 16, 2026 · 4 filesMessage 73 · AdequateInformational 17Details
Commit message · Mitchell Bagot

Remove parity argument and return on add_tweak and tweak_add_check

The tweak_add_check function currently takes a tweaked_parity argument
for the parity of the tweaked key to be checked. With the introduction
of the parity on XOnlyPublicKey, this parity can be derived directly
and doesn't need to be provided.

Similarly, the parity return from add_tweak can now be incorporated
into the XOnlyPublicKey return value, rather than as a second field
in a 2-tuple.

Remove tweaked_parity argument from tweak_add_check and return only
an XOnlyPublicKey from add_tweak.

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

This commit is a routine API cleanup in the rust-bitcoin library. It removes an extra 'parity' argument and return value from functions that tweak public keys for Taproot, because the parity information can now be stored directly inside the XOnlyPublicKey type. There is no indication this fixes a security bug; it is a design simplification that may require downstream code to update how it calls these functions.

Security candidateRemove parity argument and rename public_keyby Mitchell Bagot · 5724d3ec · Feb 16, 2026 · 2 filesMessage 68 · AdequateInformational 17Details
Commit message · Mitchell Bagot

Remove parity argument and rename public_key

The public_key function on XOnlyPublicKey doesn't follow the standard
API naming conventions for conversions. Further, with the introduction
of the parity field on the XOnlyPublicKey, it's no longer necessary
to provide the parity when calling.

Remove the parity argument in public_key function and rename to
to_public_key.

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

This commit is a routine API cleanup, not a security fix. It renames a method from `public_key` to `to_public_key` and removes a now-redundant `parity` argument because the parity information is already stored inside the x-only public key object. The code still produces the same public keys; callers just provide the parity in a different way. There is no indication this change fixes a vulnerability.

Security candidateReturn only XOnlyPublicKey from from_keypairby Mitchell Bagot · 7d11f9ba · Feb 16, 2026 · 5 filesMessage 68 · AdequateInformational 18Details
Commit message · Mitchell Bagot

Return only XOnlyPublicKey from from_keypair

The from_keypair function currently returns the XOnlyPublicKey and
associated parity as a 2-tuple. Since parity is now stored on the
XOnlyPublicKey, this can be simplified to an XOnlyPublicKey return
type.

Replace from_keypair return type with a plain XOnlyPublicKey.

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

This commit is a routine API cleanup in the rust-bitcoin library. It changes a function so it returns only the x-only public key, instead of a pair of the key plus its parity bit. The parity information is now stored inside the key object itself, so callers no longer need to handle it separately. There is no security vulnerability here.

Security candidateReturn parity from serialize in XOnlyPublicKeyby Mitchell Bagot · b23e5517 · Feb 16, 2026 · 7 filesMessage 80 · StrongInformational 17Details
Commit message · Mitchell Bagot

Return parity from serialize in XOnlyPublicKey

In order to have sufficient information to completely reconstruct an
XOnlyPublicKey, users now need to know the parity of the key. As such,
we should now return it alongside the raw key bytes from serialize.

Add parity return from serialize in XOnlyPublicKey.

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

This commit changes the public API of XOnlyPublicKey::serialize() so it now returns both the 32-byte x-only key and its parity bit, instead of just the bytes. All existing callers inside the crate are updated to take only the first element (the bytes) and ignore the parity where it isn't needed. This is a routine API design change to expose extra information for users who need to fully reconstruct a key; it does not fix a bug or close a security hole.

Security candidateChange new constructor to from_secpby Mitchell Bagot · 34744dae · Feb 16, 2026 · 1 fileMessage 68 · AdequateInformational 20Details
Commit message · Mitchell Bagot

Change new constructor to from_secp

The new constructor on XOnlyPublicKey is poorly named, as it merely
constructs an XOnlyPublic key by wrapping an inner type.

Rename XOnlyPublicKey::new to XOnlyPublicKey::from_secp

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

This commit simply renames a function from XOnlyPublicKey::new to XOnlyPublicKey::from_secp because the old name was misleading. The underlying behavior is unchanged. There is no security vulnerability or fix here.

Security candidateReplace serde derive with call-through implby Mitchell Bagot · 731cbacd · Feb 16, 2026 · 1 fileMessage 68 · AdequateLow 29Details
Commit message · Mitchell Bagot

Replace serde derive with call-through impl

The existing serde implementation for XOnlyPublicKey derives from the
implementation on the inner type. Once additional data is introduced,
like the parity, XOnlyPublicKey will no longer serialise or
deserialise correctly.

Replace serde derived implementations with manual implementations that
call through to inner type's serde implementations.

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 changes how a Bitcoin public-key type is serialized and deserialized when the optional serde feature is enabled. The old code automatically used the inner key type's format, which would break if extra data (such as key parity) is added later. The new code explicitly forwards to the inner type, keeping the wire format stable even as the wrapper type evolves. It is a hardening/preventive change rather than a fix for an active vulnerability.

Security candidateIntroduce parity field on XOnlyPublicKeyby Mitchell Bagot · dcd361c4 · Feb 16, 2026 · 1 fileMessage 78 · AdequateInformational 15Details
Commit message · Mitchell Bagot

Introduce parity field on XOnlyPublicKey

As part of the overhaul of XOnlyPublicKey, the parity of the key will
need to be stored on the type. Since we want to retain the
encapsulation on the type, we also need a getter/setter for this new
field.

Introduce a parity field on the XOnlyPublicKey alongside getter and
setter functions. Adjust BIP-341 test json parsing to suit new
XOnlyPublicKey structure.

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 path
AI analysis · Informational 15/100

This is a routine internal code refactor in a Bitcoin cryptography library. It adds a 'parity' field (a mathematical property of cryptographic keys) to the XOnlyPublicKey type, along with getter and setter functions. There is no indication this change fixes or introduces a security vulnerability.

Security candidateIntroduce as_inner on XOnlyPublicKeyby Mitchell Bagot · 583c168d · Feb 16, 2026 · 1 fileMessage 58 · ThinInformational 15Details
Commit message · Mitchell Bagot

Introduce as_inner on XOnlyPublicKey

In many cases, we only need a reference to the inner key on an
XOnlyPublicKey. Since XOnlyPublicKey is Copy, fn(self) has a copy
overhead on each use. as_inner, taking &self doesn't have this
overhead.

Introduce an as_inner() function to take &self and return a ref to the
inner secp256k1::XOnlyPublicKey value.

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

This commit adds a small performance helper method called as_inner() to the XOnlyPublicKey type and switches existing internal code to use it instead of a method that copies the key. There is no security issue here; it is a routine optimization to avoid unnecessary copying.

Lower-prioritybitcoin: Grab 0.32.8 changelogby Tobin C. Harding · 9a78efcc · Feb 16, 2026 · 1 fileMessage 68 · AdequateInformational 15Details
Commit message · Tobin C. Harding

bitcoin: Grab 0.32.8 changelog

As is customary round here we forgot to merge the changelog back into
master after releasing the latest `v0.32` point release.

Grab the changelog from the `0.32.x` branch.

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

This commit only adds a changelog entry describing a previously released version (0.32.8). It does not change any source code, build scripts, tests, or documentation beyond the changelog file. The security relevance, if any, would belong to the earlier code change being documented (a BIP158 empty-query fix), not to this changelog-only commit.

Security candidate2026-02-15 automated rustfmt nightlyby Fmt Bot · 0a92d080 · Feb 15, 2026 · 24 filesMessage 45 · ThinInformational 15Details
Commit message · Fmt Bot

2026-02-15 automated rustfmt nightly

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

This commit is a routine automated code-formatting run using the nightly version of rustfmt. It only changes whitespace, line breaks, import ordering, and other stylistic details across 24 files. No program logic, security behavior, or public API was changed.

AI review queuedrefactor(fuzz): remove custom fuzz_utils moduleby Erick Cestari · 4b4053c0 · Feb 14, 2026 · 3 filesMessage 90 · StrongInformational 15Details
Commit message · Erick Cestari

refactor(fuzz): remove custom fuzz_utils module

Remove the hand-rolled `consume_random_bytes`, `consume_u64`, and
`consume_u32` helpers and the `bitcoin_fuzz` lib crate.

- Use `<&[u8]>::arbitrary` to split fuzz input into borrowed slices
- Flatten nested match blocks into early returns for readability

90/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Mentions testing or verification
Why it was queued
fuzzing or regression evidencesigning or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit is a routine code cleanup in the project's fuzz-testing harness. It removes a small set of hand-written helper functions and replaces them with a standard library approach for splitting fuzz input into slices. There is no change to the actual Bitcoin library code that users rely on, and nothing in the commit suggests a security fix.

Lower-priorityUpdate API filesby Mitchell Bagot · 9bbdb868 · Feb 14, 2026 · 6 filesMessage 51 · ThinInformational 15Details
Commit message · Mitchell Bagot

Update API files

The move from primitives to units for CompactTarget introduces many
API changes. For the sake of review simplicity, these API changes
should be broken into a separate patch.

Update the primitives and units API files.

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

This commit only updates generated API snapshot text files that record what functions and types are publicly exposed by the Rust crates. It moves the CompactTarget type from the primitives crate to the units crate and updates the corresponding API listings. There are no code logic changes, no bug fixes, and no security-relevant behavior changes.

Lower-priorityMove hex parsing functions on CompactTarget to unitsby Mitchell Bagot · aeb108ee · Feb 14, 2026 · 2 filesMessage 73 · AdequateInformational 15Details
Commit message · Mitchell Bagot

Move hex parsing functions on CompactTarget to units

The hex parsing functions from the CompactTargetExt trait in bitcoin
are trivially implemented within units and contribute to the final
goal of moving the bitcoin pow module to units.

Move from_hex and from_unprefixed_hex to CompactTarget in units.

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 two helper functions that parse hexadecimal strings into a CompactTarget value from one internal module to another. The actual logic and behavior of the functions are unchanged, and no security issue is present.

Lower-priorityMove CompactTarget from primitives to unitsby Mitchell Bagot · d9e10efc · Feb 14, 2026 · 7 filesMessage 78 · AdequateInformational 20Details
Commit message · Mitchell Bagot

Move CompactTarget from primitives to units

The CompactTarget type conceptually represents a unit type, not an
on-chain primitive type. It thus better lives in units, with a
re-export from primitives.

Move pow module from primitives to units, adjusting api tests
accordingly.

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

This commit is a routine code reorganization: it moves the CompactTarget type (and its proof-of-work module) from one internal crate (`primitives`) to another (`units`), while keeping the same public API available through re-exports. There is no security bug being fixed and no behavior change visible to users.

Lower-priorityprimitives: Implement Arbitrary for CompactTargetby Mitchell Bagot · 9ae638d3 · Feb 14, 2026 · 3 filesMessage 78 · AdequateInformational 15Details
Commit message · Mitchell Bagot

primitives: Implement Arbitrary for CompactTarget

Types in primitives and units generally implement Arbitrary for use
with the api tests and fuzzing. CompactTarget in primitives doesn't
have an Arbitrary impl.

Add an Arbitrary impl for CompactTarget. Adjust non_empty_debug api
test to use new Arbitrary impl.

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 evidence
AI analysis · Informational 15/100

This commit adds a test-only feature implementation that lets the fuzzing framework generate random CompactTarget values. It does not change any production logic, consensus rules, or security behavior.

Lower-priorityAutomated update to Github CI to rustc nightly-2026-02-13by Update Nightly Rustc Bot · 7031c52f · Feb 14, 2026 · 1 fileMessage 50 · ThinInformational 15Details
Commit message · Update Nightly Rustc Bot

Automated update to Github CI to rustc nightly-2026-02-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 automated GitHub testing from one date to another. It changes only a single line in a CI configuration file and has no effect on the actual Bitcoin library code that users run.

Lower-priorityio: upgrade to workspace lintby Nick Johnson · 8781aab3 · Feb 13, 2026 · 3 filesMessage 45 · ThinInformational 15Details
Commit message · Nick Johnson

io: upgrade to workspace lint

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

This commit is a routine code-quality cleanup. It moves linting rules from an individual crate's configuration to the shared workspace configuration, adds missing documentation comments, fixes minor test-code style issues, and adds a missing import in test code. There is no change to runtime behavior or security-sensitive logic.

Lower-prioritybase58: upgrade to workspace lintby Nick Johnson · 0c41ebf5 · Feb 13, 2026 · 6 filesMessage 45 · ThinInformational 15Details
Commit message · Nick Johnson

base58: upgrade to workspace lint

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

This is a routine code-maintenance commit. It moves lint (style and warning) settings from an individual sub-crate to the shared workspace configuration, cleans up some import statements, adds documentation comments, and swaps a few style idioms (like `copied()` instead of `cloned()`). There is no change to security-sensitive behavior, no bug fix, and no vulnerability patch.

Security candidateaddresses,bip158,crypto: migrate lint settingsby Nick Johnson · 9fedc40b · Feb 13, 2026 · 6 filesMessage 45 · ThinInformational 15Details
Commit message · Nick Johnson

addresses,bip158,crypto: migrate lint settings

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 routine housekeeping change that moves lint (code style warning) settings from individual crates to a shared workspace configuration. It does not change any program logic, fix bugs, or alter security behavior.

AI review queuedchacha20poly1305: migrate to workspace lintby Nick Johnson · 639212bb · Feb 13, 2026 · 5 filesMessage 68 · AdequateInformational 15Details
Commit message · Nick Johnson

chacha20poly1305: migrate to workspace lint

Some copy code for initializing poly1305 key was refactored to
semantically equivelent (produces same machine code), but doesn't
trigger the clippy panic docs requirement.

68/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Why it was queued
second-pass: broader security terminology
AI analysis · Informational 15/100

This is a routine code cleanup in the ChaCha20-Poly1305 cryptography module. It moves linting rules from an individual crate to the shared workspace configuration, updates documentation formatting, and refactors how the Poly1305 key is copied from a keystream slice. The commit explicitly states the refactored code is semantically equivalent and produces the same machine code. There is no security-relevant behavior change.

AI review queuedhashes: Add hash type name to Debug outputby Mitchell Bagot · 17322bff · Feb 13, 2026 · 3 filesMessage 68 · AdequateInformational 15Details
Commit message · Mitchell Bagot

hashes: Add hash type name to Debug output

For the sake of uniformity with the changes in primitives, change
the Debug format in the hashes implementations for hash wrapper
types.

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

This commit only changes how hash values look when printed in debugging output. Instead of showing just the raw hex string, the debug format now also includes the type name, like 'Txid(bitcoin_hashes::sha256d::Hash(...))'. It does not change any behavior that handles real bitcoin data, secrets, or network messages, and it introduces no security risk.

AI review queuedprimitives: Add hash type name to Debug outputby Mitchell Bagot · b75a2633 · Feb 13, 2026 · 12 filesMessage 68 · AdequateInformational 15Details
Commit message · Mitchell Bagot

primitives: Add hash type name to Debug output

The hash types from primitives all debug using hexadecimal. Unlike
typical newtypes, they don't debug with the newtype name, making
the exact hash type unclear without contextual clues.

Introduce newtype name to debug output for hash types in primitives.

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

This commit only changes how hash values look when printed for debugging. It adds the type name (like 'Txid(...)') around the hexadecimal hash string so developers can more easily tell which kind of hash they are looking at. It does not change how hashes are compared, stored, serialized, or used in Bitcoin logic.

Security candidateChange hex re-export in bitcoin to stable hexby Mitchell Bagot · 9e5136d6 · Feb 13, 2026 · 24 filesMessage 68 · AdequateInformational 18Details
Commit message · Mitchell Bagot

Change hex re-export in bitcoin to stable hex

As per the repo policy, all exports from bitcoin must be a superset of
those from primitives. This includes crate re-exports. In bitcoin, the
hex re-export exports the unstable v0.3.0 crate, whilst primitives
exports the stable 1.0 crate. Since bitcoin makes extensive use of
unstable hex features, the export should be updated, but both included
as dependencies, like with primitives.

Introduce both hex unstable and hex stable as dependencies for bitcoin
and change re-export to stable hex to match primitives.

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

This commit is a routine internal dependency cleanup. The project had been re-exporting an unstable version of a hex-encoding helper crate, but its policy says the main crate must only re-export stable versions. The change swaps the public re-export to the stable version while keeping the unstable version as a private internal dependency for code that still needs it. There is no security bug being fixed here.

Security candidatehashes: Add cpufeatures for no_std SIMD detectionby jrakibi · 5074a7d1 · Feb 13, 2026 · 4 filesMessage 88 · StrongInformational 19Details
Commit message · jrakibi

hashes: Add cpufeatures for no_std SIMD detection

Currently SIMD requires `std` because we use `is_x86_feature_detected!`
and `is_aarch64_feature_detected!` macros for runtime CPU feature detection.
This means `no_std` users cannot benefit from the performance boost
provided by hardware SHA extensions.

This adds `cpufeatures` crate as an optional dependency.
When enabled, it provides runtime CPU feature detection in `no_std`
environments for both x86/x86_64 and aarch64.

Discussed in https://github.com/rust-bitcoin/rust-bitcoin/issues/5568#issuecomment-3816450830

Update lock files

88/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Links an issue, advisory, or supporting reference
Why it was queued
cryptography-sensitive path
AI analysis · Informational 19/100

This change lets users of the library who don't use the standard Rust library ('no_std' environments, common in embedded or blockchain hardware) benefit from faster SHA-256 hashing via CPU-specific instructions. It adds an optional helper crate that detects CPU features in 'no_std' mode, similar to how the standard library already does it. There is no direct evidence in the commit that this fixes a security vulnerability; it is a performance and portability improvement.