RB
← All projectsRust Bitcoin

rust-bitcoin

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

BitcoinCryptographic librariesNormal
Repository coverage

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

612security candidates555second-pass queue2330AI analyses
151commits · 30 days
273commits · 60 days
960commits · 180 days
2043commits · 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.

68/100 average clarity
702Strong · 80–100
1135Adequate · 60–79
582Thin · 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.
Andrew Poelstra407139251391
Mitchell Bagot659200654068
Tobin C. Harding42167411063
jrakibi1015096069
satsfy (Renato Britto)652235065
Nick Johnson19621190060
Jamil Lambert, PhD12619117062
Fmt Bot351532045
Trevor Arjeski111111069
Shing Him Ng31731056
Martin Habovstiak31629069
Ismail Daif22622050
Analysis record

Published AI watches

Last scanned 54 minutes ago

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

Merge rust-bitcoin/rust-bitcoin#7220: refactor(bip32)!: replace KeySource with KeyOrigin

This is a routine code cleanup in a Bitcoin library. It renames a simple data container from KeySource to KeyOrigin and gives it named fields (fingerprint and path) instead of numbered tuple slots (.0 and .1). The serialized format is inte…

6bb507b2by Andrew Poelstra+84−33 files
No security note in commit
Informational 15 AI analysisMessage 91 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Merge rust-bitcoin/rust-bitcoin#7204: key-expression: Get secp256k1 from the crypto dep

This change is a routine internal cleanup: the key_expression crate stops depending directly on the secp256k1 cryptography library and instead uses a re-export provided by another internal crate called crypto. No user-facing behavior, type…

d193efc5by Andrew Poelstra+7−107 files
No security note in commit
Informational 17 AI analysisMessage 68 · Adequate
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

key_expression: Forward serde feature to network

This is a small Cargo.toml fix in a Rust Bitcoin subcrate. When the optional 'serde' feature was enabled on the key_expression crate alone, it did not also enable serde on the network crate. That meant a type called NetworkKind could not b…

806f1e1fby bytescape30+1−11 file
No security note in commit
Informational 15 AI analysisMessage 96 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Merge rust-bitcoin/rust-bitcoin#7223: build(deps): bump taiki-e/install-action from 2.87.9 to 2.87.13

This is a routine update to a GitHub Actions helper used in automated testing workflows. It bumps the version of taiki-e/install-action, which downloads and installs Rust developer tools during CI runs. There is no change to the actual Bit…

c8ee144aby Andrew Poelstra+2−22 files
No security note in commit
Informational 20 AI analysisMessage 100 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Merge rust-bitcoin/rust-bitcoin#7224: build(deps): bump astral-sh/setup-uv from 10.0.1 to 10.1.0

This is a routine update to a GitHub Actions helper used only in automated security-scanning workflows. The new version adds minor improvements, including respecting proxy settings and verifying downloaded files with checksums. It does not…

Dependency bump of a third-party GitHub Action used in CI onlyUpstream release notes mention generic security improvements (checksum verification, npm install defaults, NO_PROXY)No CVE, advisory, or vendor security disclosure is present in the commit or supplied references
7bc9d696by Andrew Poelstra+2−22 files
No security note in commit
Informational 19 AI analysisMessage 91 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Merge rust-bitcoin/rust-bitcoin#7105: Remove derived serde impls for types in stabilising crates

This commit removes automatic serde (serialization/deserialization) code generation from several Rust Bitcoin library crates and replaces it with hand-written implementations. The stated goal is to reduce dependencies and make the code eas…

Manual serde implementations replace derived ones, increasing the surface area for serialization-format bugsNo validation logic changes are visible in the diffNo mention of security fixes, CVEs, or vulnerability reports in commit message or PR description
9eeb7774by Andrew Poelstra+219−4110 files
No security note in commit
Informational 15 AI analysisMessage 91 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Merge rust-bitcoin/rust-bitcoin#7205: Manual update to rustc stable (to 1.100.0)

This commit updates the project's automated Rust compiler version from 1.99.1 to 1.100.0 and adjusts a CI cache cleanup script to match a new directory layout used by Cargo 1.100. It is purely an infrastructure/maintenance change to keep a…

44e6f0caby Andrew Poelstra+8−22 files
No security note in commit
Informational 18 AI analysisMessage 91 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Merge rust-bitcoin/rust-bitcoin#7197: ci: bump rbmt to 0.5.5 and fail API job on private dep leak

This is a build-system improvement, not a code change. It updates a CI helper tool and makes the automated API-checking job fail if a private internal crate accidentally becomes part of the public API. That prevents future leaks of interna…

CI guardrail added to prevent private dependency leaks into stable crate public APIsTool bump enables detection of re-exported private dependenciesNo source-code vulnerability is patched
be14c72eby Andrew Poelstra+7−12 files
No security note in commit
Informational 15 AI analysisMessage 91 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Merge rust-bitcoin/rust-bitcoin#7185: Refactor/bip32 flatten error constructors

This is a minor internal code cleanup in the Rust Bitcoin library. It changes how two functions (Xpriv::decode and Xpub::decode) build their error messages when an input is the wrong length. The behavior is the same before and after; only …

271f662aby Andrew Poelstra+8−61 file
No security note in commit
Informational 24 AI analysisMessage 93 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Merge rust-bitcoin/rust-bitcoin#7167: units: remove `Denomination::MicroBitcoin`

This is a routine API cleanup, not a security fix. The change removes one way of naming a Bitcoin unit ('MicroBitcoin' / 'uBTC') and keeps the equivalent 'bits' form. Any code that previously used the old name will fail to compile or fail …

No security signal: public API deprecation and enum variant removalNo memory safety, cryptographic, or consensus code modifiedError message change is informational only
d0602195by Andrew Poelstra+53−403 files
No security note in commit
Informational 19 AI analysisMessage 91 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Merge rust-bitcoin/rust-bitcoin#7127: key_expression: Reduce `alloc` gating to minimal types

This commit is a code cleanup and feature-gating refactor for the rust-bitcoin library's key_expression crate. It makes more BIP32 (Bitcoin wallet key derivation) types available when the 'alloc' memory allocator feature is disabled, and s…

Refactor of error types and parsing paths for Xpriv/Xpub base58 decodingSwitch from unbounded base58 decode to fixed-size array decode (78 bytes)Removal of explicit length-check error path in favor of decoder-reported length error
c3d27d5dby Andrew Poelstra+60−823 files
No security note in commit
Informational 15 AI analysisMessage 91 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Merge rust-bitcoin/rust-bitcoin#7039: primitives: Fix daily Miri cron failures with measured test gating

This change only adds `#[cfg_attr(miri, ignore)]` annotations to a handful of slow unit tests so they are skipped when run under Miri, a Rust interpreter used for detecting undefined behavior. It does not change any production code, consen…

1dc09077by Andrew Poelstra+6−03 files
No security note in commit
Informational 15 AI analysisMessage 91 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Merge rust-bitcoin/rust-bitcoin#7182: Update local dependencies

This commit only updates version numbers in package configuration files (Cargo.toml) for internal dependencies so that all crates in the project require the same minimum versions of shared libraries. There are no code changes, no bug fixes…

06f41225by Andrew Poelstra+7−75 files
No security note in commit
Informational 15 AI analysisMessage 96 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Merge rust-bitcoin/rust-bitcoin#7179: build(deps): bump taiki-e/install-action from 2.87.4 to 2.87.9

This is a routine update to a GitHub Actions helper used in automated testing workflows. It changes which version of a third-party tool-installer action is used, but only for installing the cargo-mutants testing tool. There is no indicatio…

4fda66b5by Andrew Poelstra+2−22 files
No security note in commit
Informational 15 AI analysisMessage 96 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Merge rust-bitcoin/rust-bitcoin#7180: build(deps): bump cargo-bins/cargo-binstall from 1.22.0 to 1.23.0

This commit updates the version of a helper tool called cargo-binstall used in two automated GitHub workflows. The change only affects internal build/CI tooling and does not alter the rust-bitcoin library code that users install or run. Th…

53eae24dby Andrew Poelstra+2−22 files
No security note in commit
Informational 15 AI analysisMessage 96 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Merge rust-bitcoin/rust-bitcoin#7181: build(deps): bump github/codeql-action/upload-sarif from 4.37.9 to 4.38.0

This is a routine update by Dependabot to the GitHub CodeQL upload-sarif action used in a scheduled security scanning workflow. It changes one pinned commit hash to a newer version of the same action. There is no indication this introduces…

4bb555f0by Andrew Poelstra+1−11 file
No security note in commit
Informational 15 AI analysisMessage 81 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

key_expression: Flatten BIP32 decode error construction

This commit is a minor code cleanup in the Rust Bitcoin library. It changes how an error message is built when decoding BIP32 extended keys, switching from one nested construction style to two chained calls. The actual behavior and returne…

c31c11e0by Adewale Ijalana+8−61 file
No security note in commit
Low 36 AI analysisMessage 100 · Strong
RB Rust Bitcoinrust-bitcoin BitcoinCryptographic libraries

Merge rust-bitcoin/rust-bitcoin#7168: units: add `visit_units` in optional serde visitors

This commit fixes a bug in how optional Bitcoin amount and fee-rate values are read from JSON when those fields are inside a flattened struct and the value is null. Previously, the code would error out because it did not handle a special s…

Deserialization failure in optional numeric types under serde flattenMissing serde visitor method (visit_unit) causing runtime errorsRegression test added for null handling in flattened structs
47340d2fby Andrew Poelstra+79−03 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 dependency update by Dependabot, bumping the version of a GitHub-provided action used to upload security scan results. There is no indication of a security vulnerability in the project itself or in this change.

fe755619by 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 cargo-bins/cargo-binstall from 1.22.0 to 1.23.0

This is a routine automated update by Dependabot that changes the version of a GitHub Action used to install Rust tools in two CI workflows. There is no indication of a security issue in the commit itself, and no verified security referenc…

2ccb0029by dependabot[bot]+2−22 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 candidatePromote BLOCK_SIZE assertion to hard assertby Jamil Lambert, PhD · 8f2ee2b8 · May 25, 2026 · 1 fileMessage 68 · AdequateModerate 60Details
Commit message · Jamil Lambert, PhD

Promote BLOCK_SIZE assertion to hard assert

The debug_assert only fires in debug builds; a downstream HashEngine
implementation with BLOCK_SIZE > 128 would silently produce wrong
outputs in release builds by indexing into fixed-size 128-byte ipad/opad
buffers beyond their length.

Change to assert! so the check is unconditional.

Assisted-by: claude-sonnet-4.6

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 · Moderate 60/100

This commit fixes a safety check in the HMAC code. Previously, the code only verified in debug builds that a hash engine's block size did not exceed 128 bytes. In release builds, an oversized block size would cause the code to write past the end of fixed 128-byte internal buffers, leading to incorrect HMAC results or memory corruption. The fix makes this check run unconditionally by changing a debug-only assertion into a regular assertion.

Security candidateIntroduce signing functions on sighash typesby Mitchell Bagot · 3edf875b · May 25, 2026 · 3 filesMessage 73 · AdequateInformational 15Details
Commit message · Mitchell Bagot

Introduce signing functions on sighash types

Although the private key types have raw signing functions on them that
allow users to bypass secp, they still present a rough interface for
signing compared to directly signing on the sighash types that result
from the SighashCache.

Introduce signing functions on LegacySighash, SegwitV0Sighash and
TapSighash.

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
secret or key materialsigning boundarycryptography-sensitive pathsigning or wallet path
AI analysis · Informational 15/100

This commit adds convenience helper methods that let developers sign Bitcoin transaction hash values more directly. It does not change any security-critical behavior; the same cryptographic signing operations were already available through other functions. The change is purely an API usability improvement.

Security candidateChange TapTweak to take self by refby Mitchell Bagot · 0e0146be · May 25, 2026 · 1 fileMessage 68 · AdequateInformational 19Details
Commit message · Mitchell Bagot

Change TapTweak to take self by ref

The TapTweak trait in bitcoin::key currently consumes the untweaked
key to construct the tweaked key. While this is mostly fine for users
who manually call into it, it prevents clean usage in functions that
take Keypair refs.

Change TapTweak::tap_tweak to take self by ref instead of by value.

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

This is a small API ergonomics change in a Rust Bitcoin library. A function called tap_tweak is changed so callers pass a reference to the key instead of giving up ownership of the key. It does not fix a bug or vulnerability; it makes the library easier to use in code that holds key references.

Lower-prioritydocs: Re-run gen-dep-tree scriptby Tobin C. Harding · 201d178a · May 25, 2026 · 1 fileMessage 72 · AdequateInformational 15Details
Commit message · Tobin C. Harding

docs: Re-run gen-dep-tree script

The doc has gotten a bit stale. Re-run the script (using `just
gen-dep-tree`).

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
documentation-only discount
AI analysis · Informational 15/100

This commit only regenerates a documentation file that shows the project's internal dependency tree. No program code was changed, so it cannot introduce or fix a security vulnerability on its own.

Security candidatehashes: Bump version to 0.21.0by Tobin C. Harding · 411e4473 · May 25, 2026 · 12 filesMessage 68 · AdequateInformational 15Details
Commit message · Tobin C. Harding

hashes: Bump version to 0.21.0

In preparation for release add a changelog entry, bump the version,
and update the lock files.

One last release before we 1.0 this crate team.

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

This commit is a routine release-preparation change. It bumps the version number of the `bitcoin_hashes` crate from 0.20.0 to 0.21.0, updates the project's lock files, and adds a changelog entry summarizing prior changes. There is no code change that fixes or introduces a security issue in this commit itself.

Security candidate2026-05-24 automated rustfmt nightlyby Fmt Bot · acaec902 · May 24, 2026 · 10 filesMessage 45 · ThinInformational 15Details
Commit message · Fmt Bot

2026-05-24 automated rustfmt nightly

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

This is a purely cosmetic code-formatting commit. It only reorders imports, rewraps long lines, and collapses or expands function bodies to match the latest rustfmt nightly style. No program logic, behavior, or security properties were changed.

Lower-prioritybip158: reject malformed filter countsby Boris Nagaev · d4e2383a · May 23, 2026 · 1 fileMessage 68 · AdequateLow 48Details
Commit message · Boris Nagaev

bip158: reject malformed filter counts

Propagate CompactSize decode errors when reading the element count in GCS
filter matching instead of treating malformed input as an empty filter.

Assisted-by: OpenAI GPT-5

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

This change fixes how a Bitcoin-related Rust library reads compact-size numbers in BIP158 compact block filters. Previously, if the encoded element count was malformed, the code silently treated it as zero, making the filter look empty. Now it returns an error instead. This could have let an attacker or buggy peer make a node believe a filter contained no matches when in fact the data was just corrupt.

Lower-prioritybip158: add invalid compact size errorby Boris Nagaev · 5bf57f3f · May 23, 2026 · 1 fileMessage 68 · AdequateInformational 15Details
Commit message · Boris Nagaev

bip158: add invalid compact size error

Add a dedicated error variant for invalid CompactSize encoded filter counts.
It will be used in subsequent commit.

Assisted-by: OpenAI GPT-5

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

This commit only adds a new error variant to the BIP158 block filter error type. It does not change any parsing logic, fix a bug, or alter behavior. It is a preparatory code change for a future commit and has no security impact on its own.

Lower-prioritybip158: regression test of malformed filter countsby Boris Nagaev · 2c0c37d0 · May 23, 2026 · 1 fileMessage 75 · AdequateInformational 12Details
Commit message · Boris Nagaev

bip158: regression test of malformed filter counts

Cover truncated and non-minimal CompactSize prefixes in both
match_any and match_all.

Assisted-by: OpenAI GPT-5

75/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Mentions testing or verification
Why it was queued
fuzzing or regression evidence
AI analysis · Informational 12/100

This commit only adds new regression tests for malformed BIP158 compact-size filter counts. It does not change any production code, so it cannot introduce or fix a runtime vulnerability by itself. The tests verify that truncated and non-minimal CompactSize prefixes are rejected with parse errors in the GCS filter reader's match_any and match_all methods.

Lower-priorityprimitives: add minimum allocation sizeby Andrew Poelstra · ca06d893 · May 23, 2026 · 1 fileMessage 78 · AdequateModerate 57Details
Commit message · Andrew Poelstra

primitives: add minimum allocation size

It's possible to construct witnesses that force our current logic to repeatedly
allocate a single byte, many thousands of times. This is inefficient, and on
some targets (notably: x86 with fuzzer instrumentation) it is slow to the point
of being a DoS vector.

I was not able to construct a unit test which meaningfully demonstrates this
behavior (or even runs slowly enough to notice), but with this patch, a fuzzer
input which previously took several seconds now takes only milliseconds.

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 · Moderate 57/100

This commit fixes a performance problem in how the library reads Bitcoin transaction witness data. Before the fix, specially crafted witness data could force the code to allocate memory one byte at a time, thousands of times in a row. That slowness could be abused to cause denial of service, especially when the code is run under fuzz testing or other instrumentation. The fix ensures the code always allocates at least 1,000 bytes at once, removing the repeated tiny allocations.

Lower-prioritytaproot-primitives: Fix hex width specifierby Tobin C. Harding · c15954eb · May 23, 2026 · 1 fileMessage 80 · StrongInformational 17Details
Commit message · Tobin C. Harding

taproot-primitives: Fix hex width specifier

This is printing a `u8`, because we are using alternate (includes
`0x`) the width specifier should be 4 not 2. Found by clippy but
debugged by Poelstra.

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

This commit fixes a tiny formatting bug in how a future Taproot leaf version number is printed as text. When using the alternate display mode (which adds '0x'), the width specifier was set to 2 instead of 4, so a value like 0xAB would print as '0xAB' (correct) but a value like 0x0B would print as '0x0B' (still correct because the '#' flag already accounts for '0x'). Actually, with Rust's {:#02x} for a u8, the minimum width is 2 for the whole output including '0x', so single-hex-digit values print as '0x1' rather than '0x01'. The fix ensures consistent two-digit hex output. This is a display-string correctness issue, not a memory safety or cryptographic bug, and has no direct security impact.

Lower-priorityAdd test for LeafVersion formatting changeby Tobin C. Harding · c41d6e41 · May 23, 2026 · 1 fileMessage 78 · AdequateInformational 11Details
Commit message · Tobin C. Harding

Add test for LeafVersion formatting change

We just patch the `Display` impl for `LeafVersion::Future`. Add a test
that if move before the last patch fails, proving the last patch was
indeed a bug fix.

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

This commit only adds a new test to verify the text output format of a special internal value called LeafVersion::Future. It does not change any production code, so it cannot introduce or fix a security vulnerability by itself. The test is meant to document that a previous formatting change was a bug fix, but this commit alone does not show what that previous change was or whether it had security implications.

Lower-priorityFix ArrayVec::try_push Doc commentby Abeeujah · 49cd6bde · May 22, 2026 · 1 fileMessage 60 · AdequateInformational 15Details
Commit message · Abeeujah

Fix ArrayVec::try_push Doc comment

Correct the Doc comment to rightly reference `CapacityExceeded` instead
of `CAPSizeExceeded`.

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

This commit fixes a typo in a code comment (documentation). It changes the error name mentioned in a comment from 'CAPSizeExceeded' to 'CapacityExceeded' to match the actual code. There is no change to program logic, no bug fix, and no security relevance.

Lower-priorityconsensus_encoding: Release stable 1.0.0by Tobin C. Harding · 74c4f526 · May 22, 2026 · 10 filesMessage 68 · AdequateInformational 15Details
Commit message · Tobin C. Harding

consensus_encoding: Release stable 1.0.0

In preparation for releasing `v1.0.0` add a changelog, bump the
version, update all downstream crates, and update the lockfiles.

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

This commit is a routine release-management change. It bumps the version of the `bitcoin-consensus-encoding` crate from 0.2.0 to 1.0.0, adds a changelog, and updates downstream crates and lockfiles to use the new version. There are no code logic changes, bug fixes, or security patches in the diff.

Lower-priorityconsensus_enocding: Update the readmeby Tobin C. Harding · 4e4dc435 · May 22, 2026 · 1 fileMessage 58 · ThinInformational 15Details
Commit message · Tobin C. Harding

consensus_enocding: Update the readme

In preparation for the 1.0 release remove mention of the RC release
process and make an effort to document how we got from the old
consensus encoding code to this crate.

58/100 · ThinMessage clarity
✓ Descriptive subject✓ Provides detailed explanatory context
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This commit only edits a README file in the consensus_encoding crate. It rewrites the crate description and replaces a release-candidate notice with a short history of how the crate was developed. No code, tests, build files, or dependencies were changed.

Lower-priorityp2p: change CommandString to wrap 12 byte array instead of Cowby yancy · 9160667c · May 21, 2026 · 1 fileMessage 73 · AdequateInformational 20Details
Commit message · yancy

p2p: change CommandString to wrap 12 byte array instead of Cow

Bitcoin P2P Command strings are always 12-byte ASCII, therefore the
underlying data type can be represented as a fixed 12 byte array. This
removes the need for any type of dynamic allocations using COW.

The `CommandString` invariant that the input must not be longer than 12
bytes and must be ASCII is enforced in all possible construction
avenues. As such, both `try_from_stringly()` and the `end()` method in
the decoder enforce the invariant.

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

This commit refactors how Bitcoin network command names (like 'version' or 'ping') are stored internally. It replaces a flexible string container with a fixed 12-byte array, which removes dynamic memory allocation and tightens checks that command strings are ASCII and no longer than 12 characters. The change is mostly a defensive cleanup, but it also removes a public constructor and slightly alters how non-ASCII or malformed command strings are rejected during decoding.

Lower-priorityp2p: group struct and impl for V1NetworkMessageby yancy · 59e0ef40 · May 21, 2026 · 1 fileMessage 45 · ThinInformational 15Details
Commit message · yancy

p2p: group struct and impl for V1NetworkMessage

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

This commit simply moves the V1NetworkMessage struct definition and its associated implementation block next to each other in the same source file. There are no code behavior changes, no security fixes, and no functional modifications.

Lower-priorityp2p: mark CommandString as Copyby yancy · 7f4ed346 · May 21, 2026 · 1 fileMessage 45 · ThinInformational 15Details
Commit message · yancy

p2p: mark CommandString as Copy

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

This is a small internal code-quality change in the Bitcoin peer-to-peer networking library. It marks a 12-byte message command string type as Copy, which lets the compiler duplicate it more cheaply. The change removes a few unnecessary .clone() calls. There is no security issue here.

AI review queuedconsensus_encoding: Adjust docs spelling and grammarby Mitchell Bagot · 48fca0f9 · May 21, 2026 · 4 filesMessage 50 · ThinInformational 15Details
Commit message · Mitchell Bagot

consensus_encoding: Adjust docs spelling and grammar

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

This commit only fixes spelling and grammar mistakes in code comments and documentation. No program logic, code behavior, or security properties were changed.

AI review queuedconsensus_encoding: run formatterby Nick Johnson · 183bc246 · May 21, 2026 · 1 fileMessage 35 · OpaqueInformational 15Details
Commit message · Nick Johnson

consensus_encoding: run formatter

35/100 · OpaqueMessage clarity
✓ Descriptive subject! No meaningful explanatory body
Why it was queued
parser or protocol pathsecond-pass: opaque commit messagesecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit only reformats the import statements in a single test file. No code behavior, logic, or security properties changed.

AI review queuedconsensus_encoding: switch tests to should_panic macroby Nick Johnson · 462c000b · May 21, 2026 · 1 fileMessage 60 · AdequateInformational 15Details
Commit message · Nick Johnson

consensus_encoding: switch tests to should_panic macro

60/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification! No meaningful explanatory body
Why it was queued
parser or protocol pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit only changes how two existing tests are written. It replaces manual panic-catching code with Rust's standard #[should_panic] test attribute. The tests still verify the same behavior: that decoding functions panic when decoded values do not match expected values. There is no change to production code, no security fix, and no vulnerability introduced.

AI review queuedhashes: Update API filesby jrakibi · bf60526c · May 21, 2026 · 3 filesMessage 28 · OpaqueInformational 15Details
Commit message · jrakibi

hashes: 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 in the rust-bitcoin hashes crate. It removes lines that list certain public type aliases and constants from the recorded public API surface. These files are used to detect unintended API changes during CI, not to implement behavior. There is no code change, no bug fix, and no security-relevant content in the diff.

Security candidatehashes: Remove Bytes and LEN from HashEngineby jrakibi · caf9e7b4 · May 21, 2026 · 14 filesMessage 68 · AdequateInformational 18Details
Commit message · jrakibi

hashes: Remove Bytes and LEN from HashEngine

Simplify the API by removing Bytes and LEN from HashEngine.
Callers can still use HashEngine::Hash::LEN and
HashEngine::Hash::Bytes to access those values.

This will automatically solve the inconsistency between
HashEngine and Hash we found for sha512_256 output size.

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

This is a routine code cleanup in the rust-bitcoin hashes library. It removes duplicate ways of asking a hash engine for the output length and byte type, directing callers to use the associated Hash type instead. The commit message explicitly says this fixes an inconsistency discovered for the sha512_256 output size, but the change itself is an API simplification, not a security patch. There is no evidence of a vulnerability being fixed.

Lower-priorityUse check_encode in consensus comparison fuzz targetby Mitchell Bagot · 591a0246 · May 21, 2026 · 1 fileMessage 83 · StrongInformational 15Details
Commit message · Mitchell Bagot

Use check_encode in consensus comparison fuzz target

The consensus encoding comparison fuzz target compares old encodings
to new encodings between master and bitcoin 0.32. Presently, it does
so by allocating a vector for the old serialisation and the new.
The new check_encode function in consensus_encoding can instead be used
to eliminate a Vec allocation and directly compare the encoder output
of the new encoding against the encoded vector of the old encoding.

Replace encode_to_vec and assert_eq! call with use of the check_encode
function.

83/100 · StrongMessage clarity
✓ Specific, 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 is a small internal cleanup of a fuzz test (a software self-test) in the rust-bitcoin project. It swaps one helper function for another so the test avoids an unnecessary memory allocation. There is no change to the library code that real users rely on, and nothing in the commit suggests a security vulnerability was fixed.

AI review queuedUpdate APIby Nick Johnson · 0dfa7725 · May 20, 2026 · 3 filesMessage 0 · OpaqueInformational 15Details
Commit message · Nick Johnson

Update API

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

This commit only updates three public API snapshot files to list two newly added test helper functions, `check_decode` and `check_decoder`. These are additions to the library's test/verification tooling, not changes to production code, and there is no indication of any security issue.