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
977commits · 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 47 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 candidateMerge rust-bitcoin/rust-bitcoin#6717: Release tracking PR: `primitives 0.104.0`by Andrew Poelstra · 4432f7c4 · Nov 2, 2026 · 11 filesMessage 100 · StrongInformational 15Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#6717: Release tracking PR: `primitives 0.104.0`

8b07e38a1e23ceca780cb71ece6ca99f9ea003f0 primitives: Bump version to 0.104.0 (Tobin C. Harding)

Pull request description:

In preparation for release add a changelog, bump the version, update the lock files, and upgrade all crates to use the new version.

This is a release of what we have so that we can consider doing a `rust-bitcoin` release in series with the final push towards the last RC of primitives.


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


Tree-SHA512: eb171ff58e2982df1a37dc5aee0dade6d875b25a5b4e9845bd5efc206d904627992c99a6ab1be6e666c3bca621175db01fc8c4c6f626540e16460f5b5340c9d3

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
cryptography-sensitive pathmerge-commit duplicate discount
AI analysis · Informational 15/100

This is a routine release-management commit. It bumps the version of the `bitcoin-primitives` crate from 0.103.x to 0.104.0, updates dependency version numbers in other crates, refreshes lock files, and adds a changelog. There are no code logic changes in the diff itself.

AI review queuedMerge rust-bitcoin/rust-bitcoin#7101: primitives: transaction's doc cleanupby Andrew Poelstra · b331b1ad · Nov 1, 2026 · 1 fileMessage 91 · StrongInformational 15Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#7101: primitives: transaction's doc cleanup

cd78d76f18dbd4833e56cb5e565bff96c1014e95 primitives: fix errors and claims in transaction docs (satsfy (Renato Britto))
4714bd26ba7e71927908abdcb473acdd4c54c1ce primitives: use SegWit consistently in transaction module (satsfy (Renato Britto))
03bc4f655a2dc181f846207c7f3ad2079c8c97be primitives: fix punctuation in transaction module docs (satsfy (Renato Britto))
247b8aba2eb20ea6a6b73ebc5d4779cb8d7bdf58 primitives: fix rustdoc column width in transaction module (satsfy (Renato Britto))

Pull request description:

A follow-up of https://github.com/rust-bitcoin/rust-bitcoin/pull/7095#issuecomment-6405680894

Do a similar pass of that PR but for transaction module:
- Wrap to 100 columns.
- Fix punctuation.
- Spell SegWit consistently.
- Fix wrong claims.

I'm trying to keep the criteria consistent with tcharding's and jamil's previous doc fixes, another units docs PR that is coming and future primitives doc PRs.


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


Tree-SHA512: e496eaae3c85c6ec375dc0987eef0a1f04bc2b89d2f8e79b17c24b05b679ee66cff3cae4e306d22727091f0fdab398f5215dbe09eb18b4b6f47d67f3c04de368

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 is a documentation cleanup for the Bitcoin transaction module. It only changes comments, spelling consistency, line wrapping, and wording in documentation. No executable code was modified, so it cannot introduce a security vulnerability or fix one.

Lower-priorityMerge rust-bitcoin/rust-bitcoin#7145: poly1305: Add 4 block processing on x86by Andrew Poelstra · 5d0c8f77 · Nov 1, 2026 · 4 filesMessage 91 · StrongTriage 0Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#7145: poly1305: Add 4 block processing on x86

522f71f629cd8a814de72078c4dfda990fdfdadf poly1305: Add 4 block processing on x86 (rustaceanrob)

Pull request description:

I found a paper online that described a SIMD layout for Poly1305. This commit introduces the baseline SIMD implementation described in the "Goll-Gueron" section. It works over 256 bit registers and processes 4 blocks of 16 bytes. For those curious, the arrangment of the polynomial and the layout of the vectors is described in the paper, but note that I did not implement the full speed up as it got significantly more complicated than the plain Goll-Gueron without a large performance gain.

The changes to existing source are 1. move the AVX2 detection to the crate root 2. split multiplication and reduction into two different functions.

ref: https://eprint.iacr.org/2019/842.pdf

<details>
<summary> Benchmarks 👻 </summary>

```
chacha20poly1305/encrypt_no_aad/128
time: [331.63 ns 331.88 ns 332.14 ns]
thrpt: [367.53 MiB/s 367.81 MiB/s 368.09 MiB/s]
change:
time: [−4.2876% −4.2247% −4.1563%] (p = 0.00 < 0.05)
thrpt: [+4.3365% +4.4111% +4.4797%]
Performance has improved.
Found 2 outliers among 100 measurements (2.00%)
2 (2.00%) high mild
chacha20poly1305/encrypt_with_aad/128
time: [349.99 ns 350.11 ns 350.23 ns]
thrpt: [348.55 MiB/s 348.67 MiB/s 348.78 MiB/s]
change:
time: [−5.0998% −5.0524% −5.0020%] (p = 0.00 < 0.05)
thrpt: [+5.2654% +5.3212% +5.3738%]
Performance has improved.
Found 4 outliers among 100 measurements (4.00%)
4 (4.00%) high mild
chacha20poly1305/decrypt_ok/128
time: [352.60 ns 352.87 ns 353.22 ns]
thrpt: [345.59 MiB/s 345.94 MiB/s 346.20 MiB/s]
change:
time: [−4.0927% −3.9783% −3.8165%] (p = 0.00 < 0.05)
thrpt: [+3.9679% +4.1431% +4.2673%]
Performance has improved.
Found 7 outliers among 100 measurements (7.00%)
5 (5.00%) high mild
2 (2.00%) high severe
chacha20poly1305/encrypt_no_aad/1024
time: [593.38 ns 593.73 ns 594.10 ns]
thrpt: [1.6052 GiB/s 1.6063 GiB/s 1.6072 GiB/s]
change:
time: [−47.712% −47.686% −47.658%] (p = 0.00 < 0.05)
thrpt: [+91.050% +91.155% +91.250%]
Performance has improved.
Found 9 outliers among 100 measurements (9.00%)
3 (3.00%) low mild
5 (5.00%) high mild
1 (1.00%) high severe
chacha20poly1305/encrypt_with_aad/1024
time: [612.44 ns 612.58 ns 612.72 ns]
thrpt: [1.5565 GiB/s 1.5568 GiB/s 1.5572 GiB/s]
change:
time: [−47.494% −47.473% −47.452%] (p = 0.00 < 0.05)
thrpt: [+90.302% +90.377% +90.455%]
Performance has improved.
Found 2 outliers among 100 measurements (2.00%)
1 (1.00%) high mild
1 (1.00%) high severe
chacha20poly1305/decrypt_ok/1024
time: [614.92 ns 615.12 ns 615.31 ns]
thrpt: [1.5499 GiB/s 1.5504 GiB/s 1.5509 GiB/s]
change:
time: [−46.844% −46.826% −46.808%] (p = 0.00 < 0.05)
thrpt: [+87.999% +88.064% +88.124%]
Performance has improved.
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) low mild
chacha20poly1305/encrypt_no_aad/16384
time: [7.3237 µs 7.3419 µs 7.3638 µs]
thrpt: [2.0721 GiB/s 2.0783 GiB/s 2.0835 GiB/s]
change:
time: [−55.812% −55.706% −55.578%] (p = 0.00 < 0.05)
thrpt: [+125.11% +125.77% +126.31%]
Performance has improved.
Found 16 outliers among 100 measurements (16.00%)
1 (1.00%) low severe
2 (2.00%) high mild
13 (13.00%) high severe
chacha20poly1305/encrypt_with_aad/16384
time: [7.3468 µs 7.3645 µs 7.3864 µs]
thrpt: [2.0658 GiB/s 2.0719 GiB/s 2.0769 GiB/s]
change:
time: [−56.280% −56.173% −55.998%] (p = 0.00 < 0.05)
thrpt: [+127.26% +128.17% +128.73%]
Performance has improved.
Found 17 outliers among 100 measurements (17.00%)
1 (1.00%) low mild
2 (2.00%) high mild
14 (14.00%) high severe
chacha20poly1305/decrypt_ok/16384
time: [7.3782 µs 7.3953 µs 7.4170 µs]
thrpt: [2.0573 GiB/s 2.0633 GiB/s 2.0681 GiB/s]
change:
time: [−55.592% −55.451% −55.243%] (p = 0.00 < 0.05)
thrpt: [+123.43% +124.47% +125.19%]
Performance has improved.
Found 15 outliers among 100 measurements (15.00%)
1 (1.00%) low severe
1 (1.00%) low mild
1 (1.00%) high mild
12 (12.00%) high severe
chacha20poly1305/encrypt_no_aad/65536
time: [29.034 µs 29.111 µs 29.202 µs]
thrpt: [2.0901 GiB/s 2.0966 GiB/s 2.1022 GiB/s]
change:
time: [−56.162% −56.080% −55.976%] (p = 0.00 < 0.05)
thrpt: [+127.15% +127.69% +128.11%]
Performance has improved.
Found 11 outliers among 100 measurements (11.00%)
11 (11.00%) high severe
chacha20poly1305/encrypt_with_aad/65536
time: [29.046 µs 29.120 µs 29.210 µs]
thrpt: [2.0895 GiB/s 2.0960 GiB/s 2.1014 GiB/s]
change:
time: [−56.653% −56.563% −56.425%] (p = 0.00 < 0.05)
thrpt: [+129.49% +130.22% +130.70%]
Performance has improved.
Found 11 outliers among 100 measurements (11.00%)
1 (1.00%) low mild
1 (1.00%) high mild
9 (9.00%) high severe
chacha20poly1305/decrypt_ok/65536
time: [29.197 µs 29.275 µs 29.375 µs]
thrpt: [2.0778 GiB/s 2.0849 GiB/s 2.0905 GiB/s]
change:
time: [−55.931% −55.825% −55.686%] (p = 0.00 < 0.05)
thrpt: [+125.66% +126.37% +126.91%]
Performance has improved.
Found 14 outliers among 100 measurements (14.00%)
3 (3.00%) high mild
11 (11.00%) high severe
```
</details>

Assisted-by: Claude Opus 5.5


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


Tree-SHA512: 058a3e4877e657d5414a79b553c7857ae64956f04e2ae0bdb00ca6665b51e9474bdfb3799a351618200e18e2f4b33dc3d6161c257fdbf4e2a9b0b810ed247841

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#7141: Automated weekly update to rustc (to nightly-2026-10-31) on masterby Andrew Poelstra · dd2535b4 · Nov 1, 2026 · 1 fileMessage 81 · StrongTriage 0Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#7141: Automated weekly update to rustc (to nightly-2026-10-31) on master

4fee4ec382ea7485ac43cdb7d26f857b33192312 Automated update to rustc nightly-2026-10-31 (Update Nightly 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 4fee4ec382ea7485ac43cdb7d26f857b33192312


Tree-SHA512: 602f07e154fe2560aaa19c4365d2fc198fb4039b3efcd414d1090b6935dc20c8df8134a65510c820774aedb81182986a7d9688a8215877ac81e726e69db651b6

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#7138: SECURITY.md: Update Andrew Poelstra's GPG keyby Andrew Poelstra · 34c5fd02 · Nov 1, 2026 · 1 fileMessage 86 · StrongTriage 0Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#7138: SECURITY.md: Update Andrew Poelstra's GPG key

dd5edd35699b2828c0ddbe92e1f602d5dcba4517 SECURITY.md: Update Andrew Poelstra's GPG key (Andrew Poelstra)

Pull request description:

The key previously listed expired on 2026-07-28. Replace it with the refreshed version of the same key (fingerprint `699A63EFC17AD3A9A34CFFC07AD0A91C40BD0091`), which is valid until 2027-07-29, as published on the keyservers.

I copy-pasted the key from my own keyring into the LLM agent. It should match the one on my website and on keyservers.

Closes #7137.

Assisted-by: Hermes Agent (qwen-3.8-flash-next, fp8, reasoning effort xhigh)


ACKs for top commit:
satsfy:
ACK dd5edd35699b2828c0ddbe92e1f602d5dcba4517
Kixunil:
ACK dd5edd35699b2828c0ddbe92e1f602d5dcba4517


Tree-SHA512: 862162f52ba8d275904280b3cb439a11c41581d547f202031bfc6b1bd8bbbb64f6cabb7cdf7abb594b991e899c4eb9401b8896dd5c4b21cad1448125972df11e

86/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference✓ Names security-relevant behavior explicitly
Why it was queued
documentation-only discountmerge-commit duplicate discount
Lower-priorityunits: document absolute locktime boundaryby satsfy (Renato Britto) · 6a5df110 · Nov 1, 2026 · 1 fileMessage 68 · AdequateTriage 0Details
Commit message · satsfy (Renato Britto)

units: document absolute locktime boundary

Our docs could use the clarification that height h allows
inclusion in block h+1, time t needs the previous block's
median time past above t.

68/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Lower-priorityMerge rust-bitcoin/rust-bitcoin#7131: primitives: Rename push_opcode parameter to opcodeby Andrew Poelstra · cee678b7 · Nov 1, 2026 · 2 filesMessage 91 · StrongTriage 0Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#7131: primitives: Rename push_opcode parameter to opcode

770870b5266cb21d902758c68391c7954370dee1 primitives: Rename push_opcode parameter to op (Jamil Lambert, PhD)

Pull request description:

Both `push_opcode` methods take an `Opcode` named `data`, a leftover from when the push helpers were copied from `push_slice`. The name shows up in rustdoc and reads as if the method pushes data.

Rename it to `opcode`.


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


Tree-SHA512: 3c5770b8acff72a51166b4c1f43bb23f8552e64ac1e69c448b40812ac60f0242da4e1732dae3c6cc26b065177c73b8a755f09b5400b228a18b41c8ede9fa1fda

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#7043: Resolve the confusion of tapscript and leaf scriptby Andrew Poelstra · 21f3284f · Nov 1, 2026 · 10 filesMessage 91 · StrongTriage 0Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#7043: Resolve the confusion of tapscript and leaf script

35cf85636963eabeca956703c17d8c9ba74e860f Resolve the confusion of tapscript and leaf script (Martin Habovstiak)

Pull request description:

Tapscript and leaf script are not the same thing - tapscript is a leaf script with version specifically being 0. So every tapscript is a leaf script but not every leaf script is tapscript. Unfortunately, the code confused the two by using the `TapScript` type everywhere, even where leaf script was meant. Ironically, this included the method on `Witness` that was introduced to specifically address this confusion.

This clears it up by introducing `TaprootLeafScript` script (tag) and replacing uses of `TapScript` with it where appropriate. It also adds a few conversions to make sure `TapScript` can be used easily where `TaprootLeafScript` is expected. However the entire API has much to be desired still. This can be done later, this focuses on fixing the worst part only.

Also this deletes the deprecated method which didn't have version filled. I can't believe it wasn't released yet so maybe CI didn't fill TBD correctly. In any case, the API of the method also changed so deprecation is pointless and if it's desired it should be backported instead.


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


Tree-SHA512: a00249782a767056c3c7d82bc111ec499f0d1cf22fe912b339d65d6f1490cd0ac53026ca4f65cdbf4ed1924dbb51aaaf08027c0b0921944606a9778cd3d67c09

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 candidateMerge rust-bitcoin/rust-bitcoin#7126: Add `Vec` support to `XOnlyPublicKey` serde implsby Andrew Poelstra · 26728d51 · Oct 31, 2026 · 1 fileMessage 91 · StrongInformational 15Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#7126: Add `Vec` support to `XOnlyPublicKey` serde impls

9b32af1e087e4b15b887354aadf60af365bb7668 Add vec support to XOnlyPublicKey serde impls (Mitchell Bagot)

Pull request description:

The recent XOnlyPublicKey serde modules have support for Option, but not for Vec. Since vectors are a standard thing to implement serde traits for, support for them should also be provided in the x_only_serde module.

Add vec submodules to support Vec<XOnlyPublicKey> in x_only_serde.

Contributes to #5787

Assisted by: Claude Opus 5.5


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


Tree-SHA512: a2d4eb6741ac40d6950e81bd268c0060981aae4c4cdd9273d93e33598a77c7d1465e63aaa90e96c36937367be128595d5bdc2f05b6bb8b16300d45ef191c6dfb

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 adds new helper code for serializing and deserializing lists of Bitcoin x-only public keys using the serde framework. It is a feature addition, not a bug fix, and there is no indication it addresses a security vulnerability.

Security candidateMerge rust-bitcoin/rust-bitcoin#7097: units: Match rustdoc heading of other 1.0 cratesby Andrew Poelstra · f015e2db · Oct 31, 2026 · 1 fileMessage 91 · StrongInformational 15Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#7097: units: Match rustdoc heading of other 1.0 crates

6ea685ddeba97febf9f747c55fb594f49d2599c6 units: Match rustdoc heading of other 1.0 crates (Tobin C. Harding)

Pull request description:

Change the crate level header to match the format of `primitives` and `consensus_encoding`. Also use the first sentence from primitives docs but with `s/primitive/units`.

FWIW the heading comes from e86502cc49

Close: #7089


ACKs for top commit:
satsfy:
ACK 6ea685ddeba97febf9f747c55fb594f49d2599c6
apoelstra:
ACK 6ea685ddeba97febf9f747c55fb594f49d2599c6; successfully ran local tests


Tree-SHA512: b8f5e542d14fe3f11cd156e53978d79ae25f44727b79814e3a9b676fd9b11be51428c4529a80a7892be88a5343a0e975a8a383372ecaf63421f7ea5b09f14244

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 updates the heading and first sentence of the crate-level documentation in the `units` crate to match the style used by other crates in the project. No code behavior was changed.

Security candidateMerge rust-bitcoin/rust-bitcoin#7139: ops: harden ci workflowsby Andrew Poelstra · fb0c6a07 · Oct 31, 2026 · 3 filesMessage 91 · StrongLow 37Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#7139: ops: harden ci workflows

0c6f37729b8f003a3af10e9f8c0ed00a12876200 ops: harden ci workflows (Felipe Knorr Kuhn)

Pull request description:

Remove unnecessary write access, and tighten the actors and conditions for the labeler and ci failures workflows


ACKs for top commit:
satsfy:
tACK 0c6f377
apoelstra:
ACK 0c6f37729b8f003a3af10e9f8c0ed00a12876200; successfully ran local tests


Tree-SHA512: 3799e0045ca5b5f4a788bf372fc4cd6f9ab78f191b90fe85773064a2ad21974ca684baaba62a08b844e9f90d6c7887c2b03ba721274546587634c460cc12628e

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
defensive validationboot or update pathdocumentation-only discountmerge-commit duplicate discount
AI analysis · Low 37/100

This commit tightens three GitHub Actions workflows to reduce the risk of supply-chain or repository-manipulation attacks. It removes an unused high-power permission (id-token: write), makes a CI-failure issue-matching script only trust issues created by the GitHub Actions bot, and validates data pulled from untrusted pull-request workflow artifacts before using it to label or comment on pull requests. These are defensive hardening changes rather than fixes for a known active exploit.

Lower-priorityMerge rust-bitcoin/rust-bitcoin#7144: poly1305: Add additional appendix test vectorsby Andrew Poelstra · f8841fea · Oct 31, 2026 · 1 fileMessage 91 · StrongTriage 0Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#7144: poly1305: Add additional appendix test vectors

4b094fe27516fe80988ea1028205fce96452048c poly1305: Add additional appendix test vectors (rustaceanrob)

Pull request description:

Add a few vectors that exercise over larger chunks of blocks. Set up for additional SIMD changes.

ref: https://www.rfc-editor.org/info/rfc8439/#appendix-A.3


ACKs for top commit:
apoelstra:
ACK 4b094fe27516fe80988ea1028205fce96452048c; successfully ran local tests; GPT 6.1 Sol confirms the test vectors are correct


Tree-SHA512: 8a459abf37987d0e724abe7885060539dbc3dc1b47992ba6f50482c7f0ae5a33f71ea5043dc2e162e2bbe40c00f47735e441003cc9fa843a321648c0bd2837bb

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-prioritypoly1305: Add additional appendix test vectorsby rustaceanrob · 4b094fe2 · Oct 31, 2026 · 1 fileMessage 86 · StrongTriage 5Details
Commit message · rustaceanrob

poly1305: Add additional appendix test vectors

Add a few vectors that exercise over larger chunks of blocks.
Set up for additional SIMD changes.

ref: https://www.rfc-editor.org/info/rfc8439/#appendix-A.3

86/100 · StrongMessage clarity
✓ 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 evidence
Security candidateMerge rust-bitcoin/rust-bitcoin#7136: Release tracking PR: `internals 0.8.2`by Andrew Poelstra · d7bfa112 · Oct 30, 2026 · 20 filesMessage 91 · StrongInformational 15Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#7136: Release tracking PR: `internals 0.8.2`

bb78d8841f92d836b9db76721eee5d86155c69f2 internals: Bump version to 0.8.2 (Tobin C. Harding)

Pull request description:

We meant to release #6974 in 0.8.1 but messed it up.

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


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


Tree-SHA512: 32dd46e95713907c47e00fc6cfbea35c115736e6c39ee986ecd26ca81717771d44432d08524299c92fa970a2f432729a81b6241c82d06e59ae86ec6b65e7583f

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
access controlcryptography-sensitive pathmerge-commit duplicate discount
AI analysis · Informational 15/100

This commit is a routine release-tracking merge that bumps the version of the `bitcoin-internals` crate from 0.8.1 to 0.8.2 and updates all dependent crates' version requirements and lock files. It contains no code changes, bug fixes, or security patches in the diff itself. The changelog notes that the actual functional change (rejecting a plus sign in certain number parsers) was supposed to ship in 0.8.1 but was accidentally omitted, so this release merely corrects that packaging mistake.

Security candidateMerge rust-bitcoin/rust-bitcoin#7129: primitives: Tidy docsby Andrew Poelstra · d1519949 · Oct 30, 2026 · 7 filesMessage 91 · StrongInformational 15Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#7129: primitives: Tidy docs

c9d0274b3e186b8cc772929b0fe82635f38f6620 primitives: Add missing SPDX header (Jamil Lambert, PhD)
3cb4f669b2cf00cdc5e733bee8791c1394f5fbbd primitives: Add missing blank lines (Jamil Lambert, PhD)
b024399973c72eee8adbebf41d071ddbe766f870 primitives: Tidy doc wording (Jamil Lambert, PhD)
7376de3fb60084dde8b282d141ce44a6cc56fd10 primitives: Remove stale note about old atomics (Jamil Lambert, PhD)
72ee0e660ff9ec886c771af8605de2c619a4dcc2 primitives: Fix Witness::from_slice panics docs (Jamil Lambert, PhD)
6cf1d9b55a1e4cbd9143572d5c94574e17482378 primitives: Add missing full stops to docs (Jamil Lambert, PhD)

Pull request description:

A handful of doc fixes. The details are in each of the commit logs.

Docs only changes.


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


Tree-SHA512: 2fafc38e83b07a69dc16f43aaa276ede5216435e1d6b01c0a3b1c468ee1765f0f84a1b5175b0afd816d8c35e70442da0920be9bb04b6d5a8eee6205ff5a74707

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
access controlsigning or wallet pathmerge-commit duplicate discount
AI analysis · Informational 15/100

This commit is a documentation-only cleanup. It fixes typos, adds missing punctuation and blank lines, updates a panic description, removes a stale comment about old Rust atomics, and adds a missing SPDX license header. No executable code behavior was changed, so there is no security impact.

Lower-priorityMerge rust-bitcoin/rust-bitcoin#7130: primitives: Remove unneeded allow(deprecated)by Andrew Poelstra · aba1f298 · Oct 30, 2026 · 1 fileMessage 91 · StrongTriage 0Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#7130: primitives: Remove unneeded allow(deprecated)

aa63020f3bcbb7285bd4993ddb3afa7c2e9d2d0b primitives: Remove unneeded allow(deprecated) (Jamil Lambert, PhD)

Pull request description:

Nothing called by `PushBytesBuf::push` is deprecated on any target, so the attribute only hides future deprecation warnings.

Remove it.


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


Tree-SHA512: a19784b2c66fa934893ee2c2ecd2665d7643d7cc579888ea8cde70cf9bb5af01291f0a93936951b98626f43fe7fe341582534949710dd7e56d58810bb5336d67

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 candidateinternals: Bump version to 0.8.2by Tobin C. Harding · bb78d884 · Oct 30, 2026 · 20 filesMessage 76 · AdequateInformational 15Details
Commit message · Tobin C. Harding

internals: Bump version to 0.8.2

We meant to release #6974 in 0.8.1 but messed it up.

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

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

This commit is purely a release housekeeping change. It bumps the version number of the `bitcoin-internals` crate from 0.8.1 to 0.8.2, updates dependency references across the workspace, refreshes lock files, and adds a changelog entry. The actual code change being released (rejecting a plus sign in certain number parsers) was merged earlier in pull request #6974 and is not present in this diff.

Lower-priorityprimitives: Add missing SPDX headerby Jamil Lambert, PhD · c9d0274b · Oct 29, 2026 · 1 fileMessage 70 · AdequateTriage 0Details
Commit message · Jamil Lambert, PhD

primitives: Add missing SPDX header

Add missing SPDX header from the block integration test.

Assisted-by: Claude Opus 5.5

70/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Mentions testing or verification
Security candidateRemove unused errors and variantsby Mitchell Bagot · 9b23b162 · Oct 29, 2026 · 1 fileMessage 68 · AdequateInformational 15Details
Commit message · Mitchell Bagot

Remove unused errors and variants

With the changes to the FromStr trait impls on Xpub and Xpriv, the
InvalidBase58PayloadLength error variants and inner error type are no
longer needed. As such, they can be dropped to clean up the errors.

Remove InvalidBase58PayloadLengthError and InvalidBase58PayloadLength
error variants from ParseXp*Error.

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 removes unused error types and variants from the BIP32 key parsing code. It is a cleanup change with no functional behavior change and no security impact.

Security candidateUngate FromStr and Display for Xpriv and Xpubby Mitchell Bagot · b48052c3 · Oct 29, 2026 · 1 fileMessage 80 · StrongInformational 19Details
Commit message · Mitchell Bagot

Ungate FromStr and Display for Xpriv and Xpub

The Xpriv and Xpub types currently have FromStr and Display trait impls
gated on alloc, due to their use of unbounded base58 encoding/decoding.
By changing the error types, both traits can be trivially made no-alloc
for both of the types.

Adjust error types to DecodeCheckArrayError and ungate FromStr and
Display impls for Xpriv and Xpub.

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

This commit removes a feature gate so that two Bitcoin key types (Xpriv and Xpub) can be converted to and from their standard text representation even when the library is built without memory allocation support. It also swaps the underlying base58 error type to one that works in no-alloc builds. The change is a portability/cleanup refactor, not a fix for an active security bug.

Security candidateGate individual items in bip32 instead of whole moduleby Mitchell Bagot · 1f13455f · Oct 29, 2026 · 2 filesMessage 73 · AdequateInformational 18Details
Commit message · Mitchell Bagot

Gate individual items in bip32 instead of whole module

The bip32 module in key_expression is currently completely gated on
alloc. Since much of its logic doesn't require alloc, the individual
parts that truly need it should be gated and the rest available without
alloc.

Gate only the individual parts of bip32 that need alloc on alloc and
ungate the top-level module.

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Why it was queued
secret or key materialcryptography-sensitive path
AI analysis · Informational 18/100

This commit is a routine refactoring of feature-gating in the rust-bitcoin library. It makes more BIP-32 code available when the 'alloc' feature is disabled, by gating only the parts that truly need heap allocation rather than the whole module. There is no security fix or vulnerability here.

Lower-priorityAdd optional feature gate to impl_array_newtype macroby Mitchell Bagot · df894f30 · Oct 29, 2026 · 1 fileMessage 73 · AdequateTriage 0Details
Commit message · Mitchell Bagot

Add optional feature gate to impl_array_newtype macro

The impl_array_newtype macro currently uses alloc types without any
feature gate, which forces users of it to have alloc enabled
unconditionally. Since not all consuming crates have an alloc feature,
the uses of Vec cannot be gated in the macro all the time.

Add extra arg/param to impl_array_newtype to take an optional feature
gate attribute for uses of alloc types.

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Lower-priorityMerge rust-bitcoin/rust-bitcoin#7120: Release tracking PR: `bitcoin-units 0.7.0`by Andrew Poelstra · 89cf8542 · Oct 29, 2026 · 9 filesMessage 91 · StrongTriage 0Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#7120: Release tracking PR: `bitcoin-units 0.7.0`

a8dc545c94ab5c18bae439c3d4f19897a91d8fd5 units: Bump version to 0.7.0 (Tobin C. Harding)

Pull request description:

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

Upgrade all repo users.


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


Tree-SHA512: 8773b768a90a8b31f8d0fe38fec09945da23f9f16d86681910172db6e9bc73d4b9a11832301c7abeba5beb8829ad69a2ae4b27a77c376ab8d8ea2c177138ce63

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#7116: primitives: Correct error messagesby Andrew Poelstra · 5d6ce144 · Oct 29, 2026 · 2 filesMessage 91 · StrongInformational 15Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#7116: primitives: Correct error messages

3a1078c172ccb24bb8b4e42c0456337eae489f47 primitives: Tidy error message wording (Jamil Lambert, PhD)
fc419d5500371fc5e20fa978552704f199a9392a primitives: Fix TooLong outpoint error message (Jamil Lambert, PhD)

Pull request description:

`ParseOutPointError::TooLong` is returned when the whole string is longer than 75 characters but the message says "vout should be at most 10 digits", which is wrong when it is the txid part that is too long. And the invalid witness commitment message uses the field name `witness_root` which is inconsistent with other messages.

Describe the actual length check and make the wording consistent with the rest of the crate.


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


Tree-SHA512: c4d4481c5182f34120d0129bc21d071e00ef86c9eb82dd554b276ec8c7534ff725eb3fcf0bb889ee6e8feffd501b3e0cc9dccc0e8c256f3aec4704d84552a8dd

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 wording of two user-facing error messages in the rust-bitcoin library. One message now correctly says an outpoint string is too long instead of incorrectly blaming the vout digit count. The other renames 'witness_root' to 'witness root' for consistency. There are no code logic, parsing, or cryptographic changes, and no security impact.

AI review queuedMerge rust-bitcoin/rust-bitcoin#7117: primitives: Document omitted return conditionsby Andrew Poelstra · 3b8e3c85 · Oct 29, 2026 · 3 filesMessage 91 · StrongInformational 15Details
Commit message · Andrew Poelstra

Merge rust-bitcoin/rust-bitcoin#7117: primitives: Document omitted return conditions

d2613e64e6e0a20f4baa84a8d87db6f7f3ec3207 primitives: Document the witness commitment check (Jamil Lambert, PhD)
2d80f4bb4a65a9c990fee065ded7423cabb8541e primitives: Document no-alloc Merkle root limit (Jamil Lambert, PhD)

Pull request description:

`TxMerkleNode::calculate_root` and `WitnessMerkleNode::calculate_root` return `None` for more than 32,767 transactions when `alloc` is disabled, but only the private `MerkleNode` trait says so. And `Block::check_witness_commitment` returns a `(bool, Option<WitnessMerkleNode>)` and the docs only describe the root.

Copy the no-alloc note to the public docs and describe both halves of the witness commitment result.

Docs only changes.


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


Tree-SHA512: 11aa3468e3cfd8d6fc36abf32bd91774864c27ef2adee4375d35718ee2844c387eaa85338ca3bd1d521eebb7fc5fdbd7f1cc6e80ce24398cc821519a76313eb1

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 updates documentation comments in the rust-bitcoin library. It adds notes explaining when two Merkle-root calculation functions can return None (specifically when a no-memory-allocation build mode is used with very large transaction lists) and clarifies what the two parts of a witness-commitment check result mean. No code behavior was changed.