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
153commits · 30 days
279commits · 60 days
975commits · 180 days
2058commits · 365 days
Backfill bands
Aug 5 → Feb 6787 seen32 candidatesComplete
Feb 6 → Jun 6878 seen53 candidatesComplete
Jun 6 → Jul 6211 seen15 candidatesComplete
Jul 6 → Aug 5184 seen2 candidatesComplete
Commit communication

Does the history explain itself?

Message quality measures whether a commit identifies its scope, purpose, rationale, testing, and supporting references. It does not change the security-severity score.

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

Lower-priorityMerge rust-bitcoin/rust-bitcoin#6991: io: Don't read from inner reader when Take is exhaustedby Andrew Poelstra · 987c7d43 · Oct 7, 2026 · 1 fileMessage 100 · StrongTriage 0Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#6991: io: Don't read from inner reader when Take is exhausted

a3770260222898ba4cf7798c97dde62d759bcf14 io: Don't read from inner reader when Take is exhausted (fmterrors)

Pull request description:

`Take::read` computes the read length as `min(buf.len(), remaining)` and then always calls the inner reader, so once `remaining` is zero it calls `self.reader.read(&mut buf[..0])`. A reader is permitted to return an error for a zero-length buffer (and a blocking reader may still block), so an exhausted `Take` can return a spurious error instead of reporting EOF.

The `BufRead` impl for `Take` in the same file already avoids this:

// Don't call into inner reader at all at EOF because it may still block
if self.remaining == 0 {
return Ok(&[]);
}

and `std::io::Take::read` has the same early return. Add the equivalent guard to `Take::read` so the two impls agree.

The regression test uses a reader that errors on every call and asserts that an exhausted `Take` reports EOF:

let mut take = ErrorReader.take(0);
let mut buf = [0_u8; 1];
assert_eq!(take.read(&mut buf).unwrap(), 0);

Without the guard this fails with `called Result::unwrap() on an Err value: Error { kind: Other, ... }`.


ACKs for top commit:
apoelstra:
ACK a3770260222898ba4cf7798c97dde62d759bcf14; successfully ran local tests
Kixunil:
ACK a3770260222898ba4cf7798c97dde62d759bcf14


Tree-SHA512: 7f8a026ed0e6c79da8683f7c0e80f28eb774c43c98837506aeb280c0969de15f399ff1439b05642cbb1f78a7c68f6f9b84d1a7a8a8f6d22b3ed8c7b82dd5b04f

100/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference
Why it was queued
fuzzing or regression evidencemerge-commit duplicate discount
Lower-priorityMerge rust-bitcoin/rust-bitcoin#6990: io: return WriteZero when write_all makes no progressby Andrew Poelstra · 648b6df3 · Oct 7, 2026 · 1 fileMessage 91 · StrongTriage 0Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#6990: io: return WriteZero when write_all makes no progress

53bfecdf36c1bd32ca25ee2076f32b82cf4b3263 io: return WriteZero when write_all makes no progress (kleonyuan)

Pull request description:

`Write::write_all()` currently returns `UnexpectedEof` when the underlying writer returns `Ok(0)` before the buffer is fully written.

This is a write failure, so return `WriteZero` to match the standard library behavior.

Add a regression test using a writer that always returns `Ok(0)`.


ACKs for top commit:
Kixunil:
ACK 53bfecdf36c1bd32ca25ee2076f32b82cf4b3263
apoelstra:
ACK 53bfecdf36c1bd32ca25ee2076f32b82cf4b3263; successfully ran local tests; TIL


Tree-SHA512: c551eb99d17d926aafbad5f3956dad4909d498755500ee6321a4594e624b8d35805f1e76f6e13017be4d4008ca0b20e350fb1b9739ace8cd41ad20239d20c1aa

91/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference
Why it was queued
fuzzing or regression evidencemerge-commit duplicate discount
Lower-priorityMerge rust-bitcoin/rust-bitcoin#6988: units: Use amount test helpers consistentlyby Andrew Poelstra · 420e69f2 · Oct 7, 2026 · 1 fileMessage 91 · StrongTriage 0Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#6988: units: Use amount test helpers consistently

e162cbcd522823266f8234273b2fd09ff5af3dc5 units: Use amount test helpers consistently (Jamil Lambert, PhD)

Pull request description:

The amount tests define `sat`, `ssat`, `res` and `sres` helpers, but some tests still call the constructors directly, wrap amounts in `NumOpResult` by hand, or define their own closures that do the same thing.

Use the shared helpers throughout test file.

Test refactor only.


ACKs for top commit:
apoelstra:
ACK e162cbcd522823266f8234273b2fd09ff5af3dc5; successfully ran local tests
tcharding:
ACK e162cbcd522823266f8234273b2fd09ff5af3dc5


Tree-SHA512: 790de73cd01a4f4fd0eac3853c0b8cb73faba2c4f6a7d19b93acf4cdc262bed9cd45f35bebd9fbc7e5359d5df1019ae380e2c1b42b69671c63829e1c2a9a97db

91/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference
Why it was queued
merge-commit duplicate discount
Security candidateunits: add track_caller to panic opsby satsfy (Renato Britto) · 48fac6da · Oct 7, 2026 · 6 filesMessage 73 · AdequateInformational 19Details
Commit message · satsfy (Renato Britto)

units: add track_caller to panic ops

Arithmetic on block heights, weights, fee rates and work
panics on overflow, weight division on zero. The panic
linked code inside units instead of at the caller.

std puts track_caller on its integer ops too.

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
memory safety
AI analysis · Informational 19/100

This commit adds Rust's #[track_caller] attribute to arithmetic operations in the units crate. This is a debugging/quality-of-life improvement: when an operation panics (for example, adding two numbers that overflow), the error message will now point to the caller's code instead of deep inside the library. It does not change when panics happen, what values are computed, or fix any security vulnerability. It simply makes crash reports more useful for developers.

Security candidateinternals: add track_caller to U256 opsby satsfy (Renato Britto) · 27671215 · Oct 7, 2026 · 2 filesMessage 73 · AdequateInformational 15Details
Commit message · satsfy (Renato Britto)

internals: add track_caller to U256 ops

Add, Sub and Mul panic on overflow in debug builds, Div and
Rem on a zero divisor. Our policy asks for using
track_caller on functions that panic on invalid arguments.

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

This commit only adds Rust's #[track_caller] annotation to internal functions that already could panic in debug builds. It does not change any behavior, fix a bug, or introduce a vulnerability. It merely improves the quality of panic messages by pointing callers to the right location in source code.

Lower-priorityunits: propagate fn attrs in op macroby satsfy (Renato Britto) · 9a6cbd9a · Oct 7, 2026 · 1 fileMessage 60 · AdequateTriage 0Details
Commit message · satsfy (Renato Britto)

units: propagate fn attrs in op macro

impl_op_for_references now accepts attributes on the fn
it was given, placing it on the impls.

60/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
Lower-priorityMerge rust-bitcoin/rust-bitcoin#6942: Start formally proving parts of the crate with Creusotby Andrew Poelstra · 96c81121 · Oct 6, 2026 · 15 filesMessage 100 · StrongTriage 0Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#6942: Start formally proving parts of the crate with Creusot

57e5dd9e7fa0f1e1f2a641b5bd5fad6c857a6cdb Fix and prove `internals::script` (Martin Habovstiak)
941f14d142e065ac030d976ee87fc0ee8ec03dbc Prove `internals::{array, slice}` with creusot (Martin Habovstiak)
f12dba8828281065b7cd2af405c7f527a5080a89 Formally prove soundness/correctness of `ArrayVec` (Martin Habovstiak)
70ef57c9a8af90a061198566f0ce786c6af4af9d Add basic creusot setup (Martin Habovstiak)

Pull request description:

Creusot is a tool for formal verification that we can use to e.g. prove soundness of `unsafe` code. Here I add basic support and prove `ArrayVec` ~~, so far without CI integration~~. See the commits for details.

~~WIP for now because it relies on improvement of `[T]::split_at_mut` specification which is in my branch in the PR but I expect it to be merged reasonably soon. But if anyone is interested, you can verify this already. :)~~

Closes #2561


ACKs for top commit:
apoelstra:
ACK 57e5dd9e7fa0f1e1f2a641b5bd5fad6c857a6cdb; successfully ran local tests
tcharding:
ACK 57e5dd9e7fa0f1e1f2a641b5bd5fad6c857a6cdb


Tree-SHA512: 86e675eeb8d60b3c0c39f2feef6c4ed29c559d76cd7fdbfd1b732597a0d84e4e544e879c88c2c217a9119bf4fed6d43c66fa8971431297b09da9dc6c56d132e7

100/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference
Why it was queued
defensive validationmerge-commit duplicate discount
AI review queuedMerge rust-bitcoin/rust-bitcoin#6983: build(deps): bump taiki-e/install-action from 2.85.4 to 2.85.8by Andrew Poelstra · 435caf98 · Oct 6, 2026 · 2 filesMessage 96 · StrongInformational 15Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#6983: build(deps): bump taiki-e/install-action from 2.85.4 to 2.85.8

56216e18cb2861dd07d4fd00b49b093038e60d2d build(deps): bump taiki-e/install-action from 2.85.4 to 2.85.8 (dependabot[bot])

Pull request description:

Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.85.4 to 2.85.8.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/taiki-e/install-action/releases">taiki-e/install-action's releases</a>.</em></p>
<blockquote>
<h2>2.85.8</h2>
<ul>
<li>
<p>Update <code>zizmor@latest</code> to 1.29.0.</p>
</li>
<li>
<p>Update <code>typos@latest</code> to 1.49.0.</p>
</li>
<li>
<p>Update <code>trivy@latest</code> to 0.73.0.</p>
</li>
<li>
<p>Update <code>tombi@latest</code> to 1.2.6.</p>
</li>
<li>
<p>Update <code>prek@latest</code> to 0.4.12.</p>
</li>
<li>
<p>Update <code>mise@latest</code> to 2026.8.1.</p>
</li>
<li>
<p>Update <code>convco@latest</code> to 0.7.1.</p>
</li>
<li>
<p>Update <code>cargo-semver-checks@latest</code> to 0.50.0.</p>
</li>
<li>
<p>Update <code>cargo-crap@latest</code> to 0.4.1.</p>
</li>
</ul>
<h2>2.85.7</h2>
<ul>
<li>
<p>Update <code>wasmtime@latest</code> to 47.0.3.</p>
</li>
<li>
<p>Update <code>uv@latest</code> to 0.12.1.</p>
</li>
<li>
<p>Update <code>rclone@latest</code> to 1.75.0.</p>
</li>
<li>
<p>Update <code>kingfisher@latest</code> to 1.110.0.</p>
</li>
</ul>
<h2>2.85.6</h2>
<ul>
<li>
<p>Update <code>wasm-tools@latest</code> to 1.255.0.</p>
</li>
<li>
<p>Update <code>tombi@latest</code> to 1.2.5.</p>
</li>
<li>
<p>Update <code>mise@latest</code> to 2026.7.18.</p>
</li>
<li>
<p>Update <code>cargo-neat@latest</code> to 0.5.3.</p>
</li>
<li>
<p>Update <code>cargo-crap@latest</code> to 0.4.0.</p>
</li>
</ul>
<h2>2.85.5</h2>
<ul>
<li>
<p>Update <code>uv@latest</code> to 0.12.0.</p>
</li>
<li>
<p>Update <code>syft@latest</code> to 1.50.0.</p>
</li>
<li>
<p>Update <code>sccache@latest</code> to 0.17.0.</p>
</li>
<li>
<p>Update <code>mise@latest</code> to 2026.7.16.</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md">taiki-e/install-action's changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<p>All notable changes to this project will be documented in this file.</p>
<p>This project adheres to <a href="https://semver.org">Semantic Versioning</a>.</p>
<!-- raw HTML omitted -->
<h2>[Unreleased]</h2>
<h2>[2.87.24] - 2026-10-04</h2>
<ul>
<li>
<p>Update <code>wasmtime@latest</code> to 49.0.2.</p>
</li>
<li>
<p>Update <code>dprint@latest</code> to 0.59.0.</p>
</li>
<li>
<p>Update <code>cargo-leptos@latest</code> to 0.3.11.</p>
</li>
<li>
<p>Update <code>cargo-insta@latest</code> to 1.49.0.</p>
</li>
<li>
<p>Update <code>cargo-binstall@latest</code> to 1.25.0.</p>
</li>
</ul>
<h2>[2.87.23] - 2026-10-03</h2>
<ul>
<li>
<p>Update <code>wasm-tools@latest</code> to 1.261.0.</p>
</li>
<li>
<p>Update <code>uv@latest</code> to 0.12.22.</p>
</li>
<li>
<p>Update <code>trivy@latest</code> to 0.75.0.</p>
</li>
<li>
<p>Update <code>tombi@latest</code> to 1.7.1.</p>
</li>
<li>
<p>Update <code>protoc-gen-connect-openapi@latest</code> to 0.28.0.</p>
</li>
<li>
<p>Update <code>mise@latest</code> to 2026.10.0.</p>
</li>
<li>
<p>Update <code>kingfisher@latest</code> to 2.9.1.</p>
</li>
<li>
<p>Update <code>kache@latest</code> to 0.28.1.</p>
</li>
<li>
<p>Update <code>espup@latest</code> to 0.18.0.</p>
</li>
<li>
<p>Update <code>dprint@latest</code> to 0.58.0.</p>
</li>
<li>
<p>Update <code>cargo-crap@latest</code> to 0.6.1.</p>
</li>
<li>
<p>Update <code>cargo-auditable@latest</code> to 0.7.7.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/taiki-e/install-action/commit/cb33e69fad06166ca28a42b2575e4dadabf62ee8"><code>cb33e69</code></a> Release 2.85.8</li>
<li><a href="https://github.com/taiki-e/install-action/commit/205431a517a990dfa58a0f22a02abd8cbef31c11"><code>205431a</code></a> Update <code>zizmor@latest</code> to 1.29.0</li>
<li><a href="https://github.com/taiki-e/install-action/commit/e734f91b32f269a08deefc4ceb37d4aa4747a26b"><code>e734f91</code></a> Update wild manifest</li>
<li><a href="https://github.com/taiki-e/install-action/commit/2596ecb10ea03dec655fc75e41a3b0f4dad7bc42"><code>2596ecb</code></a> Update <code>typos@latest</code> to 1.49.0</li>
<li><a href="https://github.com/taiki-e/install-action/commit/a44271eb2d867e7b1cf13602d4e4f0a93eec2f5e"><code>a44271e</code></a> Update <code>trivy@latest</code> to 0.73.0</li>
<li><a href="https://github.com/taiki-e/install-action/commit/9b100e5f66ebcc3ef6c9e7380611a923118c93bd"><code>9b100e5</code></a> Update <code>tombi@latest</code> to 1.2.6</li>
<li><a href="https://github.com/taiki-e/install-action/commit/f28498427840d9dc2242c579fe43460aad78fb48"><code>f284984</code></a> Update <code>prek@latest</code> to 0.4.12</li>
<li><a href="https://github.com/taiki-e/install-action/commit/3b86746a2ded65050e00646b310ebba2a15bdaf6"><code>3b86746</code></a> Update <code>mise@latest</code> to 2026.8.1</li>
<li><a href="https://github.com/taiki-e/install-action/commit/9287d185066eec8a77c1f11905ac9727db063430"><code>9287d18</code></a> Update just manifest</li>
<li><a href="https://github.com/taiki-e/install-action/commit/32702bef0f7f8c45b9b179686f51a0f2739378c3"><code>32702be</code></a> Update <code>convco@latest</code> to 0.7.1</li>
<li>Additional commits viewable in <a href="https://github.com/taiki-e/install-action/compare/065d6a08a14e61e89fb0a4c10eecdbdef39c7d8e...cb33e69fad06166ca28a42b2575e4dadabf62ee8">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=taiki-e/install-action&package-manager=github_actions&previous-version=2.85.4&new-version=2.85.8)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>


ACKs for top commit:
apoelstra:
ACK 56216e18cb2861dd07d4fd00b49b093038e60d2d; successfully ran local tests


Tree-SHA512: f561554e8c7740d8180abb62e0899c891c2da21e97942c6ba23b846daec1b82e91e3cc1f35cce14d49b45bec0eadc3295523cc2ecb61af1f898d33cdf6864dbe

96/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference✓ Names security-relevant behavior explicitly
Why it was queued
documentation-only discountautomated dependency-update discountmerge-commit duplicate discountsecond-pass: broader security terminology
AI analysis · Informational 15/100

This is a routine update by Dependabot to the version of a third-party GitHub Action used only in internal testing workflows. It does not change the project's actual Bitcoin library code, nor does it alter how user funds or data are handled. There is no indication this update fixes a security problem in the project itself.

AI review queuedMerge rust-bitcoin/rust-bitcoin#6984: build(deps): bump github/codeql-action/upload-sarif from 4.37.3 to 4.37.6by Andrew Poelstra · de4dae2c · Oct 5, 2026 · 1 fileMessage 96 · StrongInformational 15Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#6984: build(deps): bump github/codeql-action/upload-sarif from 4.37.3 to 4.37.6

d64049909130d66f25378926e263339094c1ee68 build(deps): bump github/codeql-action/upload-sarif (dependabot[bot])

Pull request description:

Bumps [github/codeql-action/upload-sarif](https://github.com/github/codeql-action) from 4.37.3 to 4.37.6.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/github/codeql-action/releases">github/codeql-action/upload-sarif's releases</a>.</em></p>
<blockquote>
<h2>v4.37.6</h2>
<ul>
<li>Changed the default filepath for the new remote file address format that was introduced in CodeQL Action 4.37.0 / 3.37.0 to <code>.github/codeql-config.yml</code> to align it with the suggested path that is used elsewhere. <a href="https://redirect.github.com/github/codeql-action/pull/4070">#4070</a></li>
</ul>
<h2>v4.37.5</h2>
<ul>
<li>Fixed a bug where a network error while streaming the download of the CodeQL bundle could terminate the <code>init</code> Action instead of falling back to downloading the bundle before extracting it. <a href="https://redirect.github.com/github/codeql-action/pull/4061">#4061</a></li>
</ul>
<h2>v4.37.4</h2>
<ul>
<li>This version of the CodeQL Action adds support for the <code>tools</code> input for the <code>codeql-action/init</code> step to be specified using a <code>github-codeql-tools</code> <a href="https://docs.github.com/en/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization">repository property</a>. This feature will gradually be rolled out following the release of this version. Once rolled out, this allows for the CodeQL CLI version that is used in GitHub-managed workflows, such as Default Setup, to be set to a custom value. For example, customers who run into issues with rate limits when a new CodeQL CLI version is released can set the value to <code>toolcache</code> to always use the CodeQL CLI version that is available in the runner toolcache. For Advanced Setup workflows, the value provided for <code>tools</code> in the workflow definition always takes precedence unless the value of the repository property starts with <code>!</code>. <a href="https://redirect.github.com/github/codeql-action/pull/4037">#4037</a></li>
<li>Update default CodeQL bundle version to <a href="https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.26.2">2.26.2</a>. <a href="https://redirect.github.com/github/codeql-action/pull/4051">#4051</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/github/codeql-action/blob/main/CHANGELOG.md">github/codeql-action/upload-sarif's changelog</a>.</em></p>
<blockquote>
<h1>CodeQL Action Changelog</h1>
<p>See the <a href="https://github.com/github/codeql-action/releases">releases page</a> for the relevant changes to the CodeQL CLI and language packs.</p>
<h2>[UNRELEASED]</h2>
<p>No user facing changes.</p>
<h2>4.38.2 - 24 Sept 2026</h2>
<ul>
<li>Update default CodeQL bundle version to <a href="https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.27.1">2.27.1</a>. <a href="https://redirect.github.com/github/codeql-action/pull/4160">#4160</a></li>
</ul>
<h2>4.38.1 - 18 Sept 2026</h2>
<ul>
<li>The CodeQL Action now has experimental support for CodeQL releases for which per-language bundles are available. Per-language bundles support analysis for a single language and are therefore smaller than the combined bundles that allow analysis for all supported languages. As a result, per-language bundles take up less space on disk and are faster to download. We expect to roll this change out to everyone in the coming weeks. <a href="https://redirect.github.com/github/codeql-action/pull/4146">#4146</a></li>
</ul>
<h2>4.38.0 - 09 Sept 2026</h2>
<ul>
<li>On GitHub-hosted runners, the CodeQL Action now deletes unused CodeQL bundles from the toolcache before downloading a different bundle, which frees up disk space for the analysis. We expect to roll this change out to everyone in September. <a href="https://redirect.github.com/github/codeql-action/pull/4124">#4124</a></li>
<li>The CodeQL Action now supports CodeQL releases that are compatible with Linux Arm64 and downloads the native <code>linux-arm64</code> CodeQL bundle when available. <a href="https://redirect.github.com/github/codeql-action/pull/4072">#4072</a></li>
<li>Update default CodeQL bundle version to <a href="https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.27.0">2.27.0</a>. <a href="https://redirect.github.com/github/codeql-action/pull/4129">#4129</a></li>
</ul>
<h2>4.37.9 - 26 Aug 2026</h2>
<ul>
<li>Update default CodeQL bundle version to <a href="https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.26.4">2.26.4</a>. <a href="https://redirect.github.com/github/codeql-action/pull/4106">#4106</a></li>
</ul>
<h2>4.37.8 - 21 Aug 2026</h2>
<p>No user facing changes.</p>
<h2>4.37.7 - 13 Aug 2026</h2>
<ul>
<li>Update default CodeQL bundle version to <a href="https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.26.3">2.26.3</a>. <a href="https://redirect.github.com/github/codeql-action/pull/4085">#4085</a></li>
</ul>
<h2>4.37.6 - 04 Aug 2026</h2>
<ul>
<li>Changed the default filepath for the new remote file address format that was introduced in CodeQL Action 4.37.0 / 3.37.0 to <code>.github/codeql-config.yml</code> to align it with the suggested path that is used elsewhere. <a href="https://redirect.github.com/github/codeql-action/pull/4070">#4070</a></li>
</ul>
<h2>4.37.5 - 03 Aug 2026</h2>
<ul>
<li>Fixed a bug where a network error while streaming the download of the CodeQL bundle could terminate the <code>init</code> Action instead of falling back to downloading the bundle before extracting it. <a href="https://redirect.github.com/github/codeql-action/pull/4061">#4061</a></li>
</ul>
<h2>4.37.4 - 29 Jul 2026</h2>
<ul>
<li>This version of the CodeQL Action adds support for the <code>tools</code> input for the <code>codeql-action/init</code> step to be specified using a <code>github-codeql-tools</code> <a href="https://docs.github.com/en/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization">repository property</a>. This feature will gradually be rolled out following the release of this version. Once rolled out, this allows for the CodeQL CLI version that is used in GitHub-managed workflows, such as Default Setup, to be set to a custom value. For example, customers who run into issues with rate limits when a new CodeQL CLI version is released can set the value to <code>toolcache</code> to always use the CodeQL CLI version that is available in the runner toolcache. For Advanced Setup workflows, the value provided for <code>tools</code> in the workflow definition always takes precedence unless the value of the repository property starts with <code>!</code>. <a href="https://redirect.github.com/github/codeql-action/pull/4037">#4037</a></li>
<li>Update default CodeQL bundle version to <a href="https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.26.2">2.26.2</a>. <a href="https://redirect.github.com/github/codeql-action/pull/4051">#4051</a></li>
</ul>
<h2>4.37.3 - 22 Jul 2026</h2>
<p>No user facing changes.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/github/codeql-action/commit/5595ccaf912efad79be6eef63a5619ff05969be3"><code>5595cca</code></a> Merge pull request <a href="https://redirect.github.com/github/codeql-action/issues/4071">#4071</a> from github/update-v4.37.6-6a9359a1b</li>
<li><a href="https://github.com/github/codeql-action/commit/ec9c75796a7f2cee5af0c5ffa0b81dc3bb58754b"><code>ec9c757</code></a> Add change note for PR 4070</li>
<li><a href="https://github.com/github/codeql-action/commit/45c8742e17cbd668814137f95e605d925b8722a2"><code>45c8742</code></a> Update changelog for v4.37.6</li>
<li><a href="https://github.com/github/codeql-action/commit/6a9359a1bd054c53cae7bb737bd8d796cfbf3014"><code>6a9359a</code></a> Merge pull request <a href="https://redirect.github.com/github/codeql-action/issues/4070">#4070</a> from github/mbg/remote-address/change-file-default</li>
<li><a href="https://github.com/github/codeql-action/commit/065cdc0394d424981db720df63ebc570e41b775f"><code>065cdc0</code></a> Change <code>DEFAULT_CONFIG_FILE_NAME</code></li>
<li><a href="https://github.com/github/codeql-action/commit/f99dd5aeee9cf92e92d0c700cb0aa7afd7bbf431"><code>f99dd5a</code></a> Merge pull request <a href="https://redirect.github.com/github/codeql-action/issues/4066">#4066</a> from github/dependabot/npm_and_yarn/js-yaml-5.2.2</li>
<li><a href="https://github.com/github/codeql-action/commit/1804b211a343d69a6584d26fb3a68a8fe6ca39d4"><code>1804b21</code></a> Merge pull request <a href="https://redirect.github.com/github/codeql-action/issues/4068">#4068</a> from github/mergeback/v4.37.5-to-main-d1ba80a1</li>
<li><a href="https://github.com/github/codeql-action/commit/3020a2f46286abb1704269b22ada83bd0e81c64f"><code>3020a2f</code></a> Rebuild</li>
<li><a href="https://github.com/github/codeql-action/commit/93c3a5a40b7affbf8ea6a480767ed0db8e8d3c5c"><code>93c3a5a</code></a> Update changelog and version after v4.37.5</li>
<li><a href="https://github.com/github/codeql-action/commit/d1ba80a13dd99fba24a470575428917156a28b43"><code>d1ba80a</code></a> Merge pull request <a href="https://redirect.github.com/github/codeql-action/issues/4067">#4067</a> from github/update-v4.37.5-1cd4d01d5</li>
<li>Additional commits viewable in <a href="https://github.com/github/codeql-action/compare/e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81...5595ccaf912efad79be6eef63a5619ff05969be3">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github/codeql-action/upload-sarif&package-manager=github_actions&previous-version=4.37.3&new-version=4.37.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>


ACKs for top commit:
apoelstra:
ACK d64049909130d66f25378926e263339094c1ee68; successfully ran local tests


Tree-SHA512: b759f790294d426a22cfe9017f2b5b176e70d5e96dd5aab4194d9232fd47dc30bda040cded4de17839dfdfa6c1e9fcd6427b2dc730c9052ad4b63fc63555d564

96/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference✓ Names security-relevant behavior explicitly
Why it was queued
documentation-only discountautomated dependency-update discountmerge-commit duplicate discountsecond-pass: broader security terminology
AI analysis · Informational 15/100

This is a routine update to a GitHub Actions workflow that uploads security scan results. It bumps the version of GitHub's official CodeQL upload-sarif action from 4.37.3 to 4.37.6. The change only affects internal CI automation and does not alter the rust-bitcoin library code, its dependencies, or any software that users run.

AI review queuedMerge rust-bitcoin/rust-bitcoin#6985: build(deps): bump dtolnay/rust-toolchain from 02cb101ec7c40f2c49e1d9714d64511d8e1b74de to 7e38f4b43b4db5c8dd498af069a4f6196df1d067by Andrew Poelstra · cff0520c · Oct 5, 2026 · 4 filesMessage 91 · StrongInformational 15Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#6985: build(deps): bump dtolnay/rust-toolchain from 02cb101ec7c40f2c49e1d9714d64511d8e1b74de to 7e38f4b43b4db5c8dd498af069a4f6196df1d067

ca2862297f98c78ae357e5dca46a26e90de855a3 build(deps): bump dtolnay/rust-toolchain (dependabot[bot])

Pull request description:

Bumps [dtolnay/rust-toolchain](https://github.com/dtolnay/rust-toolchain) from 02cb101ec7c40f2c49e1d9714d64511d8e1b74de to 7e38f4b43b4db5c8dd498af069a4f6196df1d067.
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/dtolnay/rust-toolchain/commit/7e38f4b43b4db5c8dd498af069a4f6196df1d067"><code>7e38f4b</code></a> Merge pull request <a href="https://redirect.github.com/dtolnay/rust-toolchain/issues/186">#186</a> from WaterWhisperer/feat/retry-install</li>
<li><a href="https://github.com/dtolnay/rust-toolchain/commit/7645b072e70aa7a5ee7bb3e38735e66b822d8321"><code>7645b07</code></a> Retry release-server checksum failures</li>
<li>See full diff in <a href="https://github.com/dtolnay/rust-toolchain/compare/02cb101ec7c40f2c49e1d9714d64511d8e1b74de...7e38f4b43b4db5c8dd498af069a4f6196df1d067">compare view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>


ACKs for top commit:
apoelstra:
ACK ca2862297f98c78ae357e5dca46a26e90de855a3; successfully ran local tests


Tree-SHA512: 7d8bcb370de20f7b67471960aafd15799abc1ae78041a2ebf3fa5b5f31e0e4f866e964fe5561084f1ca5148b09e547c846dd9b47af91abd0ff526fa00a300ba5

91/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference
Why it was queued
documentation-only discountautomated dependency-update discountmerge-commit duplicate discountsecond-pass: broader security terminology
AI analysis · Informational 15/100

This commit is a routine update by Dependabot to the version of a GitHub Action used in the project's automated workflows. It only changes which copy of the 'dtolnay/rust-toolchain' helper is referenced in CI configuration files. There is no change to the actual Rust Bitcoin library code, no user-facing behavior change, and no security issue visible in the diff.

Security candidateMerge rust-bitcoin/rust-bitcoin#6976: Fixed Typo Errors to enhance readability within the codebaseby Andrew Poelstra · 1f17f0eb · Oct 5, 2026 · 5 filesMessage 91 · StrongInformational 15Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#6976: Fixed Typo Errors to enhance readability within the codebase

59360d8d0ae497c4dd50fbcf572acace402b5f95 fixed more typo errors to further enhance readbility within the codebase (Jaydbrown)

Pull request description:

In learning and reading the codebase, i noticed some typo errors which affected my reading and decided to fix it so future readers don't suffer the same plight.

This changes cover typo in modules accross
- Bitcoin; pow.rs file,
- p2p; message-compact-blocks.rs file,
- ChaCha-Poly; Neon.rs file.

and alot others.


ACKs for top commit:
Abeeujah:
ACK 59360d8d0ae497c4dd50fbcf572acace402b5f95
Kixunil:
ACK 59360d8d0ae497c4dd50fbcf572acace402b5f95
apoelstra:
ACK 59360d8d0ae497c4dd50fbcf572acace402b5f95; successfully ran local tests


Tree-SHA512: daf98eab209cc4b7bc8ab47106cc3dd00ced01cca82566baaf095ab1ff17d8a8c228141a7c7ee9c0d90338637764239552b3e08c45b05cde598b763ac9b9e84b

91/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference
Why it was queued
cryptography-sensitive pathmerge-commit duplicate discount
AI analysis · Informational 15/100

This commit fixes five spelling mistakes in comments and documentation across the rust-bitcoin codebase. None of the changes alter program logic, data handling, or behavior. They only improve readability of text that is ignored by the compiler.

Security candidateMerge rust-bitcoin/rust-bitcoin#6973: units: Document the encoding featureby Andrew Poelstra · 7fa8b884 · Oct 5, 2026 · 1 fileMessage 91 · StrongInformational 15Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#6973: units: Document the encoding feature

f9f9d76d52ccf517042757e140be8cc88e32003c units: Document the encoding feature (Jamil Lambert, PhD)

Pull request description:

The crate docs list the optional features but omit `encoding`, which pulls in `bitcoin-consensus-encoding` and adds the encoder and decoder types.

Add it to the list.


ACKs for top commit:
Abeeujah:
ACK f9f9d76d52ccf517042757e140be8cc88e32003c
apoelstra:
ACK f9f9d76d52ccf517042757e140be8cc88e32003c; successfully ran local tests


Tree-SHA512: 72b211f7a772c8287172102e73e1527b534167c8fa7e0066cb3ff36345cdfd0fbb11b8c1c26fdab87ec5f039714e7710206e8b59629d0ee7637dccc9d3e03ed7

91/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference
Why it was queued
consensus or confidential-proof validationmerge-commit duplicate discount
AI analysis · Informational 15/100

This commit is a documentation-only change. It adds a missing entry to the crate's feature list in the source-code documentation, describing the optional `encoding` feature. There is no code change, no behavior change, and no security impact.

AI review queuedMerge rust-bitcoin/rust-bitcoin#6971: units: Fix typosby Andrew Poelstra · 76d514ee · Oct 5, 2026 · 5 filesMessage 91 · StrongInformational 15Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#6971: units: Fix typos

15413ce9ff6d63fdd4b7c94d7bd1829ddc9b0f20 units: Fix typos (Jamil Lambert, PhD)

Pull request description:

Fix typos found by: Claude Opus 5.5


ACKs for top commit:
Abeeujah:
ACK 15413ce9ff6d63fdd4b7c94d7bd1829ddc9b0f20
apoelstra:
ACK 15413ce9ff6d63fdd4b7c94d7bd1829ddc9b0f20; successfully ran local tests


Tree-SHA512: ad1393e1b14fd67d22eac771f03d6e231f78a31055e68de6ebd45fb626fd069d8f64e2c6861b3324c1e92e9660b76d664c75cbd1deccbeca8ec94b3308f1f0c2

91/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference
Why it was queued
signing or wallet pathmerge-commit duplicate discountsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit only fixes spelling mistakes in comments and documentation strings. No program logic, calculations, or security behavior was changed.

AI review queuedMerge rust-bitcoin/rust-bitcoin#6972: units: Use third person in rustdoc summariesby Andrew Poelstra · ce47c719 · Oct 5, 2026 · 3 filesMessage 91 · StrongInformational 15Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#6972: units: Use third person in rustdoc summaries

e93332ab6f539eb5a843c23e7662c0ea9fd6ecd6 units: Use third person in rustdoc summaries (Jamil Lambert, PhD)

Pull request description:

The policy is for rustdoc summaries to be in third person, but a few are in imperative.

Change them to third person.


ACKs for top commit:
Abeeujah:
ACK e93332ab6f539eb5a843c23e7662c0ea9fd6ecd6
apoelstra:
ACK e93332ab6f539eb5a843c23e7662c0ea9fd6ecd6; successfully ran local tests


Tree-SHA512: 38e8e9ca9c2665e57a2010563881c8b017e816aad843ec1d4da524d7d86ce54464aa72d63c99b384372831886700aabdb20851e63bdbc7314cc29a2432331c81

91/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference
Why it was queued
signing or wallet pathmerge-commit duplicate discountsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit only fixes the grammar of code documentation comments, changing phrases like 'Construct' to 'Constructs' and 'Attempt' to 'Attempts' in three source files. It does not change any actual program logic, function behavior, or security properties.

Lower-priorityMerge rust-bitcoin/rust-bitcoin#6969: units: Fix swapped block hex constructor docsby Andrew Poelstra · 27a46f85 · Oct 4, 2026 · 1 fileMessage 91 · StrongTriage 0Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#6969: units: Fix swapped block hex constructor docs

479832ae128df24fac18981a789755cc5fc2d113 units: Fix swapped block hex constructor docs (Jamil Lambert, PhD)

Pull request description:

The `impl_u32_wrapper` macro documents `from_hex` as parsing an unprefixed string and `from_unprefixed_hex` as parsing a prefixed one, contradicting both the code and the `# Errors` sections.

Swap the two summary lines.


ACKs for top commit:
apoelstra:
ACK 479832ae128df24fac18981a789755cc5fc2d113; successfully ran local tests


Tree-SHA512: e39027376cc01046164b916a280b9c4df3352a398968a5ddba72f52cbf0355c7b9b2e135a2a793467f6d9af3929cd04238d074eea317d1b1f08c4580bf8a6db2

91/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference
Why it was queued
merge-commit duplicate discount
Lower-priorityMerge rust-bitcoin/rust-bitcoin#6959: chacha20_poly1305: Update my email in authorsby Andrew Poelstra · d68c36cc · Oct 4, 2026 · 1 fileMessage 91 · StrongTriage 0Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#6959: chacha20_poly1305: Update my email in authors

0f5a453871c2a58db5483a0ad01967763fdd1cc7 chacha20_poly1305: Update my email in authors (rustaceanrob)

Pull request description:

This is a personal email that I want to change to a work one.


ACKs for top commit:
apoelstra:
ACK 0f5a453871c2a58db5483a0ad01967763fdd1cc7; successfully ran local tests


Tree-SHA512: 366ad3f70ed5b288a931eb78b597b40e1748932921baf2de988760ab2eee15581c9c63a0e19ab84cc924813ca66e1d15fe76382c392072f4edecb5072ca1ea00

91/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference
Why it was queued
merge-commit duplicate discount
Lower-priorityMerge rust-bitcoin/rust-bitcoin#6807: addresses: Add network conversion method to `Address`by Andrew Poelstra · d0c4d47a · Oct 4, 2026 · 1 fileMessage 91 · StrongTriage 0Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#6807: addresses: Add network conversion method to `Address`

2f740e1149d70051d4b3abd5b5e8486d6b9fe209 addresses: Add network conversion method to Address (Mitchell Bagot)

Pull request description:

Currently, conversion of the network on an Address requires round-tripping via the script and manually reconstructing with from_script. This necessitates both alloc, and the full bitcoin crate. Instead, we should provide a simple method on the Address that permits switching just the network while leaving the payload data unchanged.

Add Address::with_params that constructs a checked Address given a new AddressParams.

Closes #3567


ACKs for top commit:
apoelstra:
ACK 2f740e1149d70051d4b3abd5b5e8486d6b9fe209; successfully ran local tests
tcharding:
ACK 2f740e1149d70051d4b3abd5b5e8486d6b9fe209


Tree-SHA512: 30ac073bb39c9a7e2e3ce75e414540eb5ef35ef8566a084136a0392e1e8324e2ef0f58f38095a990ab1908e46803a600c210d622e470d8d7a7bfffee22eee1f8

91/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference
Why it was queued
merge-commit duplicate discount
AI review queuedMerge rust-bitcoin/rust-bitcoin#6920: primitives: Bound aggregate size and weight while decodingby Andrew Poelstra · 4a40980a · Oct 4, 2026 · 4 filesMessage 91 · StrongHigh 79Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#6920: primitives: Bound aggregate size and weight while decoding

f08650da5a538330445471b0c297145579b26164 primitives: Test over-weight Block rejected (Jamil Lambert, PhD)
ed3c6ba1578e21ca40b7662efdbf34f3666d67cc primitives: Reject over-weight Block (Jamil Lambert, PhD)
9880a744f461c3054e0a6cbf9d9181350c9171e3 primitives: Test over-weight Transaction rejected (Jamil Lambert, PhD)
dd6dbfbc905f757e4065c81726d4e234d28146a6 primitives: Reject over-weight Transaction (Jamil Lambert, PhD)
b59fbee3b753f1dfc3f02190db11960b530de859 primitives: Test over size limit Witness rejected (Jamil Lambert, PhD)
cd4818dd8bc24166b362a2f9191c7e48d5e95814 primitives: Reject over size limit Witness (Jamil Lambert, PhD)

Pull request description:

The streaming `WitnessDecoder`, `TransactionDecoder` and `BlockDecoder` each bound their individual fields but never the aggregate they retain, so an untrusted reader can be fed many individually legal fields that together far exceed any valid Bitcoin object and exhaust memory.

Reject a `Witness` whose combined serialized element size exceeds the 4 MB block-weight bound, and reject a `Transaction` or `Block` whose `Weight` exceeds the maximum block weight. Add regression tests for each.

Closes project-loupe/audit-rust-bitcoin#85
Closes project-loupe/audit-rust-bitcoin#188
Closes project-loupe/audit-rust-bitcoin#199


ACKs for top commit:
apoelstra:
ACK f08650da5a538330445471b0c297145579b26164; successfully ran local tests
tcharding:
ACK f08650da5a538330445471b0c297145579b26164


Tree-SHA512: 0143010d52692f4eeb221b732943a9295ce037f6d0071339d22a58f7b1c39061549e5a5e6ec7e6d487586e6c2cdc1d24ba3bb4422dab9e2bbed8c06f65b3b184

91/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference
Why it was queued
fuzzing or regression evidencesigning or wallet pathmerge-commit duplicate discountsecond-pass: security-sensitive path
AI analysis · High 79/100

This update fixes a memory-exhaustion risk in the rust-bitcoin library's streaming decoders for Bitcoin blocks, transactions, and witness data. Previously, an attacker could send many individually legal pieces of data that, when added together, created an impossibly large Bitcoin object, causing the receiving program to use excessive memory and possibly crash. The patch now rejects blocks, transactions, and witness stacks whose total size or weight exceeds Bitcoin's 4 MB block-weight limit during decoding, before all the data is fully loaded into memory. It also adds tests proving the new limits work.

Lower-priorityMerge rust-bitcoin/rust-bitcoin#6967: Automated weekly update to rustc stable (to 1.99.0) on masterby Andrew Poelstra · df56b50b · Oct 3, 2026 · 1 fileMessage 81 · StrongTriage 0Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#6967: Automated weekly update to rustc stable (to 1.99.0) on master

2e31c4e45fbc4cf2e5e840674df40809b9c90d40 Automated update to rustc stable-1.99.0 (Update Stable Rustc Bot)

Pull request description:

Automated update to Cargo.toml workspace metadata by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action


ACKs for top commit:
satsfy:
ACK 2e31c4e45fbc4cf2e5e840674df40809b9c90d40


Tree-SHA512: b9022000d84b7b6a90284f2d67b2c2b8480e2c28ce6553c0c1ade03a0455b821706e18496e136ca1e5804bd175269ca47b1b19cd5f05bcd1c19ad9198c063d21

81/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
Why it was queued
merge-commit duplicate discount
Lower-priorityMerge rust-bitcoin/rust-bitcoin#6853: bitcoin_bip158: Benchmark and Perf Improvmentsby Andrew Poelstra · cd916d10 · Oct 3, 2026 · 4 filesMessage 91 · StrongTriage 0Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#6853: bitcoin_bip158: Benchmark and Perf Improvments

a2e7788880e87ad32e53bfce6757c93598595134 benches: Add Benchmarks for bitcoin_bip158 (Abeeujah)
3fba58a3d6f3b0dd11eabe3afdfe3938104758bf bip158: Match elements in sorted batches (Abeeujah)
644af6e8afe7af8221f9647a302e13ea1eb6df00 bip158: Add `match_*_sorted` API (Abeeujah)
d265ddf63e33a44015f7b450a671b89483de6d67 bip158: Batch Filter Bit I/O by Byte Chunks (Abeeujah)

Pull request description:

Benchmarking the `bitcoin_bip158` implementation against `bitcoin::bip158`
showed `bitcoin_bip158` regressed and has enough room for improvment.

Across the following patches, the benchmark, and perfs improvments were
made:
- Patch 1: Batch Bit I/O read and writes operation into byte chunks.
- Patch 2: Provide match_*_sorted API to scan and match queries in a single pass.
- Patch 3: Propagate matching through the sorted API.
- Patch 4: Write Benchmark Fixture, Benchmarking `BasicFilter` against `BlockFilter`.

The table below shows the comparison vs `BlockFilter`:

<details>
<summary>Benchmark Summary</summary>

## match_any: BasicFilter vs BlockFilter

| Elements | Queries | sorted_hit | hit | sorted_miss | miss |
|---|---|---|---|---|---|
| 100 | 1 | 373.43 ns (1.17x) | 385.77 ns (1.14x) | 165.36 ns (1.25x) | 177.48 ns (1.16x) |
| 100 | 10 | 67.74 ns (3.17x) | 170.56 ns (1.26x) | 960.42 ns (1.34x) | 1.0581 µs (1.22x) |
| 100 | 100 | 9.20 ns (146.4x) | 1.2261 µs (2.36x) | 1.4932 µs (0.90x) | 2.3335 µs (1.24x) |
| 1000 | 1 | 3.9413 µs (1.22x) | 3.9518 µs (1.22x) | 1.9375 µs (1.22x) | 2.1715 µs (1.09x) |
| 1000 | 10 | 1.0411 µs (1.35x) | 1.1415 µs (1.23x) | 10.669 µs (1.03x) | 10.596 µs (1.03x) |
| 1000 | 100 | 160.82 ns (10.11x) | 1.4346 µs (1.13x) | 11.899 µs (1.26x) | 13.267 µs (1.13x) |
| 10000 | 1 | 44.345 µs (1.41x) | 44.409 µs (1.41x) | 20.877 µs (1.29x) | 20.912 µs (1.29x) |
| 10000 | 10 | 12.056 µs (1.15x) | 12.193 µs (1.14x) | 107.13 µs (1.61x) | 107.37 µs (1.60x) |
| 10000 | 100 | 799.27 ns (2.92x) | 2.2092 µs (1.06x) | 118.59 µs (1.62x) | 114.68 µs (1.68x) |

## match_all: BasicFilter vs BlockFilter

| Elements | Queries | sorted_hit | hit | sorted_miss | miss |
|---|---|---|---|---|---|
| 100 | 1 | 414.36 ns (1.18x) | 385.96 ns (1.26x) | 183.25 ns (1.13x) | 198.12 ns (1.05x) |
| 100 | 10 | 1.0563 µs (1.22x) | 1.1544 µs (1.12x) | 165.79 ns (2.07x) | 287.15 ns (1.20x) |
| 100 | 100 | 1.2201 µs (2.15x) | 2.3932 µs (1.10x) | 188.29 ns (9.10x) | 1.6657 µs (1.03x) |
| 1000 | 1 | 4.3593 µs (1.11x) | 3.9525 µs (1.23x) | 1.9385 µs (1.12x) | 2.1656 µs (1.01x) |
| 1000 | 10 | 11.767 µs (1.04x) | 11.906 µs (1.03x) | 1.9388 µs (1.19x) | 2.2679 µs (1.02x) |
| 1000 | 100 | 11.883 µs (1.24x) | 13.307 µs (1.11x) | 2.1530 µs (1.80x) | 3.5195 µs (1.10x) |
| 10000 | 1 | 44.388 µs (1.50x) | 44.396 µs (1.50x) | 20.879 µs (1.31x) | 20.918 µs (1.30x) |
| 10000 | 10 | 117.74 µs (1.59x) | 117.57 µs (1.59x) | 20.882 µs (1.31x) | 19.710 µs (1.39x) |
| 10000 | 100 | 118.96 µs (1.60x) | 120.33 µs (1.58x) | 20.881 µs (1.37x) | 22.274 µs (1.29x) |


</details>


Benchmarks ran on:
```sh
OS: Manjaro Linux x86_64
Host: Blade 15 (2022) - RZ09-0421 (8.04)
Kernel: Linux 6.12.104-1-MANJARO
Shell: bash 5.3.15
Display (BOE0A67): 2560x1440 @ 1.5x in 16", 240 Hz [Built-in]
DE: KDE Plasma 6.7.4
WM: KWin (Wayland)
Terminal: ghostty 1.3.1-arch2
CPU: 12th Gen Intel(R) Core(TM) i7-12800H (12+8) @ 4.80 GHz
GPU 1: NVIDIA GeForce RTX 3080 Ti Laptop GPU [Discrete]
GPU 2: Intel Iris Xe Graphics @ 1.40 GHz [Integrated]
Memory: 16.24 GiB / 31.03 GiB (52%)
```


ACKs for top commit:
apoelstra:
ACK a2e7788880e87ad32e53bfce6757c93598595134; successfully ran local tests


Tree-SHA512: ff6077aee134dd0069aaedfa0d36e1271700ef76012342d9801ac78e068461ea6db7185403470cc9f241fa7fe2ef4702206294e54b40fc368891bc5f9c531e91

91/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference
Why it was queued
merge-commit duplicate discount
Lower-priorityAutomated update to rustc nightly-2026-10-03by Update Nightly Rustc Bot · 730ffdd3 · Oct 3, 2026 · 1 fileMessage 45 · ThinTriage 0Details
Commit message · Update Nightly Rustc Bot

Automated update to rustc nightly-2026-10-03

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Lower-priorityMerge rust-bitcoin/rust-bitcoin#6960: ci: save disk space on tests, drop `free-disk-space`by Andrew Poelstra · 363e93a0 · Oct 2, 2026 · 1 fileMessage 91 · StrongTriage 0Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#6960: ci: save disk space on tests, drop `free-disk-space`

759058608908ca8ef391a30f8d953269aa469a18 ci: drop free-disk-space from test jobs (satsfy (Renato Britto))
cd8652c4dbfe33cb0e7b23cff3192cadc6b57871 ci: drop incremental and debuginfo in tests (satsfy (Renato Britto))

Pull request description:

Part of #6951

Test jobs used to build a 23GB `target/`, so they needed `free-disk-space` CI action to fit, which cost up to 3 minutes per job. On a [fork run](https://github.com/satsfy/rust-bitcoin/actions/runs/36740922448) with these changes target peaks at 8.2GB (-63%), and the whole job peaks at 11GB, which is under the [oppressive 14GB the github runner guarantees](https://docs.github.com/en/actions/reference/runners/github-hosted-runners#standard-github-hosted-runners-for-public-repositories) for ubuntu 24. This enables us to cut the expensive `free-disk-space`.

- `CARGO_INCREMENTAL=0` stops cargo writing incremental caches, which a fresh runner never reuses. Locally that alone cut the bitcoin crate's target by 44%.
- `CARGO_PROFILE_DEV_DEBUG=line-tables-only` keeps file and line numbers for panics and drops the rest of the debuginfo. Estimate this saves about 14% disk space.
- `free-disk-space` is removed from the Test jobs, since they now fit without it. Saves 10 minutes of runner time per CI run, making CI finish ~2-3 minutes sooner.


ACKs for top commit:
Kixunil:
ACK 759058608908ca8ef391a30f8d953269aa469a18
apoelstra:
ACK 759058608908ca8ef391a30f8d953269aa469a18; successfully ran local tests
Abeeujah:
ACK 759058608908ca8ef391a30f8d953269aa469a18


Tree-SHA512: d07cb42c61ffe49cd3bdf0aaf2634fe87c76024d2c389893c15e0d3ef048d10a926c485eb9aedae64946ee7559c023047435f9b9203cf911e471ce72ad01a64d

91/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference
Why it was queued
documentation-only discountmerge-commit duplicate discount
Security candidateMerge rust-bitcoin/rust-bitcoin#6958: primitives: Use txid for coinbase ntxidby Andrew Poelstra · b09ad77e · Oct 2, 2026 · 2 filesMessage 96 · StrongLow 49Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#6958: primitives: Use txid for coinbase ntxid

adb2c69e089be1a330feb35390440e1e8a819a6d primitives: Test coinbase ntxid behavior (Jamil Lambert, PhD)
542317a55591b10a25ca3628149b86b9a5111bcc primitives: Keep coinbase script_sig in ntxid (Jamil Lambert, PhD)

Pull request description:

A coinbase `script_sig` is not a signature and can contain a BIP-34 height commitment. Clearing it can give distinct coinbases the same `ntxid`.

Use the `txid` as the `ntxid` for coinbase transactions. Existing stores keyed by coinbase `ntxid` must recompute those keys. Like `txid`, the new `ntxid` do not distinguish identical historical coinbases.

Closes project-loupe/audit-rust-bitcoin#157


ACKs for top commit:
apoelstra:
ACK adb2c69e089be1a330feb35390440e1e8a819a6d; successfully ran local tests
tcharding:
ACK adb2c69e089be1a330feb35390440e1e8a819a6d


Tree-SHA512: 6f3d4fcb30ae5d92dcc73292a6fb16b97f4abc4a9e32b417353fdb108e3cb3de7e232752abe12b944782063d934674c680bec28b8cdac8a9f0f2aa424f729cb8

96/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference✓ Names security-relevant behavior explicitly
Why it was queued
signing boundaryproof-of-work or emission validationsigning or wallet pathmerge-commit duplicate discount
AI analysis · Low 49/100

This change fixes how a secondary transaction identifier called 'ntxid' is calculated for coinbase transactions (the special first transaction in each Bitcoin block). Previously, the code treated the coinbase's script_sig like a normal signature and cleared it when computing ntxid. Because coinbase script_sig actually contains required block-height data, two different valid coinbases could end up with the same ntxid. The fix makes coinbase ntxid equal to the regular txid, so distinct coinbases stay distinct. Any database or index that used the old coinbase ntxid as a key would need to recompute those keys.

Lower-priorityunits: drop PartialOrd and Ord from CompactTargetby satsfy (Renato Britto) · 78c5fce5 · Oct 2, 2026 · 2 filesMessage 68 · AdequateTriage 0Details
Commit message · satsfy (Renato Britto)

units: drop PartialOrd and Ord from CompactTarget

Conversion to Target is lossy in both directions. The
order of the underlying u32 says nothing about which target
is harder.

68/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Security candidateprimitives: implement lexicographic Header Ordby satsfy (Renato Britto) · 9162fe34 · Oct 2, 2026 · 1 fileMessage 60 · AdequateInformational 18Details
Commit message · satsfy (Renato Britto)

primitives: implement lexicographic Header Ord

Order is lexicographic over the consensus serialization.

60/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
Why it was queued
consensus or confidential-proof validation
AI analysis · Informational 18/100

This commit changes how Bitcoin block headers are sorted in the rust-bitcoin library. Previously, Rust's automatic ordering compared fields one by one in memory. Now, ordering is explicitly defined to match the byte-for-byte order of the header when serialized to the Bitcoin network format. This is a correctness/consistency improvement, not a security fix. There is no indication it addresses a vulnerability or was triggered by a security report.