RB
← All projectsRust Bitcoin

rust-bitcoin

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

BitcoinCryptographic librariesNormal
Repository coverage

2570 commits in the local evidence base

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

612security candidates555second-pass queue2330AI analyses
151commits · 30 days
273commits · 60 days
960commits · 180 days
2043commits · 365 days
Backfill bands
Aug 5 → Feb 6787 seen32 candidatesComplete
Feb 6 → Jun 6878 seen53 candidatesComplete
Jun 6 → Jul 6211 seen15 candidatesComplete
Jul 6 → Aug 5184 seen2 candidatesComplete
Commit communication

Does the history explain itself?

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

68/100 average clarity
702Strong · 80–100
1135Adequate · 60–79
582Thin · 40–59
151Opaque · 0–39
20security candidates with opaque commit messaging
Read the scoring rubric →
Developer activity

Who is changing the project?

Public Git author strings; identities are not independently verified.

DeveloperCommitsCandidatesAnalyzedHigh riskMessage avg.
Andrew Poelstra407139251391
Mitchell Bagot659200654068
Tobin C. Harding42167411063
jrakibi1015096069
satsfy (Renato Britto)652235065
Nick Johnson19621190060
Jamil Lambert, PhD12619117062
Fmt Bot351532045
Trevor Arjeski111111069
Shing Him Ng31731056
Martin Habovstiak31629069
Ismail Daif22622050
Analysis record

Published AI watches

Last scanned 57 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.

AI review queuedUpdate roadmap.mdby sashaodessa · 3e3a8dad · Sep 3, 2025 · 1 fileMessage 28 · OpaqueInformational 15Details
Commit message · sashaodessa

Update roadmap.md

28/100 · OpaqueMessage clarity
✓ Subject identifies a change! No meaningful explanatory body
Why it was queued
documentation-only discountsecond-pass: opaque commit message
AI analysis · Informational 15/100

This commit is a one-word typo fix in the project's public planning document (roadmap.md), changing 'stabalize' to 'stabilize'. It does not modify any code, build configuration, tests, or documentation that affects how the software works. There is no security relevance.

AI review queuedRe-name units::parse to parse_intby Tobin C. Harding · e40a8974 · Sep 2, 2025 · 18 filesMessage 80 · StrongInformational 15Details
Commit message · Tobin C. Harding

Re-name units::parse to parse_int

The `pares` module now only does one thing, parses strings (hex or
otherwise) to get integers. It can be re-named to `parse_int` to
better describe this and also so that when re-exported in `primitives`
and `bitcoin` the name is not misleading but nicely descriptive.

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

This commit is a simple rename of an internal Rust module from `parse` to `parse_int`. It does not change what the code does, only how it is named and where it appears in the public API. There is no security fix or behavior change.

AI review queuedrevert #4838 and #4847 using div_ceilby Andrew Poelstra · 2b38ffc2 · Sep 1, 2025 · 2 filesMessage 76 · AdequateLow 48Details
Commit message · Andrew Poelstra

revert #4838 and #4847 using div_ceil

In #4838 we used saturating addition to simulate `div_ceil`, which gives
incorrect results on extreme values but at least doesn't panic. Similar
in the followup PR #4847. (These aren't detected by clippy, but I remember
them.)

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
second-pass: broader security terminology
AI analysis · Low 48/100

This commit fixes a subtle arithmetic bug in how Bitcoin fee rates and transaction weights are rounded up. The previous code tried to avoid crashes on extremely large numbers by using 'saturating addition,' but that produced slightly wrong rounded-up results for the maximum possible values. The patch replaces that workaround with Rust's proper div_ceil function, which gives the mathematically correct ceiling division even at the extremes. In practice, this mostly affects edge-case calculations with maximum values and is unlikely to be directly exploitable for theft, but it removes a source of incorrect fee/weight estimates.

AI review queuedupdate MSRV to 1.74 everywhere except in internalsby Andrew Poelstra · c2ab0f73 · Sep 1, 2025 · 20 filesMessage 73 · AdequateInformational 15Details
Commit message · Andrew Poelstra

update MSRV to 1.74 everywhere except in internals

If I update it in internals, our uses of `rust_version!` with values below
1.74 break. In particular the cond_const! macro breaks. So I will do that
in the next commit, so the diff for this one is simple.

We may want to put some work into getting a single source of truth here...
I had to change this constant in 29 files, plus internals/Cargo.toml.

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Why it was queued
second-pass: unusually broad change
AI analysis · Informational 15/100

This commit is a routine maintenance change that raises the Minimum Supported Rust Version (MSRV) from Rust 1.63.0 to 1.74.0 across documentation, CI configuration, and package manifests. It does not change any code logic, cryptographic operations, or security behavior. It simply tells users and automated tooling that the project now requires a newer Rust compiler.

AI review queuedbitcoin: add "extreme object size" deserialization unit testby Andrew Poelstra · 1c18ed99 · Aug 23, 2025 · 1 fileMessage 91 · StrongInformational 12Details
Commit message · Andrew Poelstra

bitcoin: add "extreme object size" deserialization unit test

As promised in https://github.com/rust-bitcoin/rust-bitcoin/pull/4762

I am not convinced that our decoding of large transactions and blocks is
properly tested to make sure that we don't accidentally start rejecting
very large objects. Add a unit test specifically for this.

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
second-pass: broader security terminology
AI analysis · Informational 12/100

This commit only adds a new unit test to the rust-bitcoin library. It does not change any production code. The test checks that the library can still serialize and deserialize very large Bitcoin transactions, witnesses, and script signatures. There is no bug fix or security patch here.

AI review queuedUpdate CHANGELOG.mdby viktorking7 · abb26f92 · Aug 23, 2025 · 1 fileMessage 28 · OpaqueInformational 15Details
Commit message · viktorking7

Update CHANGELOG.md

28/100 · OpaqueMessage clarity
✓ Subject identifies a change! No meaningful explanatory body
Why it was queued
documentation-only discountsecond-pass: opaque commit message
AI analysis · Informational 15/100

This commit only fixes a spelling mistake in the changelog ('paramater' to 'parameter') and adds a missing newline at the end of the file. It changes no code, no build files, and no documentation that affects how the software works. There is no security relevance.

AI review queuedUpdate message_network.rsby Alvarez · ee067e02 · Aug 22, 2025 · 1 fileMessage 35 · OpaqueInformational 15Details
Commit message · Alvarez

Update message_network.rs

35/100 · OpaqueMessage clarity
✓ Descriptive subject! No meaningful explanatory body
Why it was queued
second-pass: opaque commit message
AI analysis · Informational 15/100

This commit is a trivial typo fix: it renames a local variable from 'delimeter' to 'delimiter' with no functional change. The code behavior is identical before and after.

AI review queuedAdd dependency policy docby Tobin C. Harding · d51a597a · Aug 21, 2025 · 1 fileMessage 66 · AdequateInformational 15Details
Commit message · Tobin C. Harding

Add dependency policy doc

Add a document for evaluating dependencies vs NIH'ing functionality.
Content pulled out of

https://github.com/rust-bitcoin/rust-bitcoin/discussions/1243

66/100 · AdequateMessage clarity
✓ Descriptive subject✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
Why it was queued
documentation-only discountsecond-pass: broader security terminology
AI analysis · Informational 15/100

This commit adds a new documentation file (docs/dependencies.md) describing the project's policy for deciding whether to add third-party dependencies. It contains no code changes, no configuration changes, and no security fixes. It is purely a policy/governance document pulled from an earlier team discussion.

AI review queuedchore: fix typosby ANtutov · 1ccf331b · Aug 20, 2025 · 2 filesMessage 40 · ThinInformational 15Details
Commit message · ANtutov

chore: fix typos

40/100 · ThinMessage clarity
✓ Subject identifies a change✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit fixes two spelling mistakes in code comments and documentation links. One corrects a grammatical phrase about Bitcoin block version bits, and the other fixes a typo in a hyperlink label pointing to Bitcoin Core's source code. There are no code behavior changes.

AI review queuedbase58: Remove hex dependencyby Tobin C. Harding · 026d245f · Aug 19, 2025 · 4 filesMessage 68 · AdequateInformational 15Details
Commit message · Tobin C. Harding

base58: Remove hex dependency

The `hex` dev dependency is only used in tests, we have a crate for
that lets use it.

Remove `hex-conservative` dev dependency and use `hex_lit`.

68/100 · AdequateMessage clarity
✓ Descriptive subject✓ Provides detailed explanatory context✓ Mentions testing or verification
Why it was queued
second-pass: broader security terminology
AI analysis · Informational 15/100

This commit simply swaps one internal test-only helper crate for another. It changes how test code converts hex strings into byte arrays, with no effect on the actual library users run in production. There is no security issue here.

AI review queueddocs: fix typo "Depenency" -> "Dependency" in READMEby bigbear · 74cbd3a7 · Aug 16, 2025 · 1 fileMessage 62 · AdequateInformational 15Details
Commit message · bigbear

docs: fix typo "Depenency" -> "Dependency" in README

62/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
documentation-only discountsecond-pass: broader security terminology
AI analysis · Informational 15/100

This commit corrects a spelling mistake in a documentation file, changing the heading 'Depenency tree' to 'Dependency tree' in the README. It does not change any code or affect how the software runs.

AI review queuedIntroduce Ntxidby Tobin C. Harding · 3e251c73 · Aug 15, 2025 · 3 filesMessage 41 · ThinInformational 18Details
Commit message · Tobin C. Harding

Introduce Ntxid

Currently the API to calculate a normalized TXID returns a hash type.
We would like to remove `hashes` from the public API of `primitives`
so we can stabilise `primitives` without stabilising `hashes`.

Introduce a `Ntxid` type and return it when computing the normalised
TXID.

41/100 · ThinMessage clarity
✓ Subject identifies a change✓ Provides detailed explanatory context! Too few words to establish purpose
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 18/100

This is a routine API refactor in a Rust Bitcoin library. It introduces a new public type called Ntxid to represent a 'normalized transaction ID' instead of returning a generic hash. The goal is to let the library stabilize one of its core modules without forcing users to depend on another internal module. There is no security bug being fixed here.

AI review queuedIntroduce dep treeby Tobin C. Harding · 03e63103 · Aug 15, 2025 · 3 filesMessage 51 · ThinInformational 15Details
Commit message · Tobin C. Harding

Introduce dep tree

Add a just command to generate a dependency tree and commit the
result. This gives us a starting point for design discussions while
crate smashing.

51/100 · ThinMessage clarity
✓ Subject identifies a change✓ Provides detailed explanatory context
Why it was queued
second-pass: broader security terminology
AI analysis · Informational 15/100

This commit adds documentation showing the project's internal crate dependency tree and a helper command to regenerate it. It does not change any executable code, cryptographic logic, or network handling, so it has no security impact on its own.

AI review queuedImprove import statementsby Tobin C. Harding · b5641a95 · Aug 15, 2025 · 7 filesMessage 58 · ThinInformational 15Details
Commit message · Tobin C. Harding

Improve import statements

In days gone past we decided try to minimize merge conflicts by
keeping use statements really separate, over time we moved more and
more towards combining them (ie., not reaching into modules all the
time but using re-exports).

Now, in a push to make our codebase's imports mirror downstream usage
while still keeping our aims don't reach into `units` or `primitives`,
just grab things by way of their re-export.

58/100 · ThinMessage clarity
✓ Descriptive subject✓ Provides detailed explanatory context
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit is a routine code cleanup that changes how internal Rust import statements are written. It replaces direct imports from internal sub-crates (like `units::BlockTime` or `primitives::Sequence`) with imports through the crate's own public re-exports (like `crate::BlockTime` or `crate::Sequence`). There is no change to program logic, behavior, or security.

AI review queuedfix: correct typos and clarify comments and testsby SashaMalysehko · e0982ae1 · Aug 12, 2025 · 3 filesMessage 67 · AdequateInformational 15Details
Commit message · SashaMalysehko

fix: correct typos and clarify comments and tests

67/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Mentions testing or verification! No meaningful explanatory body
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit fixes three minor typos: one grammar correction in a code comment about SegWit transaction parsing, one grammar correction in a documentation comment about a feature flag, and one typo ('crate' to 'create') in an error message inside a test. There are no code behavior changes.

AI review queuedUse CompactSize instead of VarIntby Tobin C. Harding · 8a243bf1 · Aug 11, 2025 · 5 filesMessage 76 · AdequateInformational 15Details
Commit message · Tobin C. Harding

Use CompactSize instead of VarInt

The term for a variable size encoded integer should be compact size.
We recently removed the `VarInt` type but a few identifiers and docs
still mention it.

ref: https://bitcoin.stackexchange.com/questions/114584/what-is-the-different-between-compactsize-and-varint-encoding

Fix: #4784

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
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit is a simple renaming cleanup. It replaces the old term 'VarInt' with 'CompactSize' in comments, variable names, error variants, and test strings. No behavior of the code changes, and no security issue is introduced or fixed.

AI review queueddocs: Remove varint from rustdocby Tobin C. Harding · fb5ec3a4 · Aug 11, 2025 · 3 filesMessage 80 · StrongInformational 15Details
Commit message · Tobin C. Harding

docs: Remove varint from rustdoc

Remove mention of `varint` from public rustdoc since we are using
compact size now. However plain old 'length prefix' is fine in most
cases.


Leaves one difficult to patch instance still, will be done separately.

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

This commit only changes documentation comments in three source files. It replaces the word 'varint' with 'CompactSize' or 'length prefix' to match the project's current terminology. No code logic, serialization, or API behavior was altered.

AI review queuedbuild(deps): bump actions/download-artifact from 4 to 5by dependabot[bot] · 489118f0 · Aug 11, 2025 · 1 fileMessage 93 · StrongInformational 15Details
Commit message · dependabot[bot]

build(deps): bump actions/download-artifact from 4 to 5

Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

93/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
Why it was queued
documentation-only discountautomated dependency-update discountsecond-pass: broader security terminology
AI analysis · Informational 15/100

This is a routine automated update by Dependabot that bumps a GitHub Actions helper (used to download build artifacts) from version 4 to version 5 in a daily fuzzing workflow. There is no indication of a security problem or malicious change in the commit itself.

AI review queuedMove CheckedData to p2pby Tobin C. Harding · 49089585 · Aug 9, 2025 · 3 filesMessage 63 · AdequateInformational 18Details
Commit message · Tobin C. Harding

Move CheckedData to p2p

At first blush the `CheckedData` type looks like a general purpose
checksum abstraction - it is the first four bytes of the `sha256d`
hash of a byte vector. However, in this repo it is only ever used in
`p2p` so the argument could be made that it is a checksum abstraction
defined and used by the Bitcoin p2p layer.

Furthermore the `CheckedData` type introduces a dependency on
`hashes`, we are about to separate out the consensus encoding traits
into a new crate and it would be nice to avoid a dependency on `hashes`.

In preparation for moving the consensus encoding logic into a new
crate move the `CheckedData` type to the `p2p` crate.

If we later find the checksum abstraction useful outside of p2p we can
move or duplicate it with little maintenance burden or API bother.

63/100 · AdequateMessage clarity
✓ Subject identifies a change✓ Provides detailed explanatory context✓ Explains rationale or failure mode
Why it was queued
second-pass: broader security terminology
AI analysis · Informational 18/100

This commit is a straightforward internal code reorganization. It moves a small helper type called CheckedData—used to bundle data with a 4-byte Bitcoin P2P checksum—from the main bitcoin crate into the p2p crate. The logic, behavior, and tests are copied almost unchanged. There is no security fix or vulnerability being patched.

AI review queuedUse BlockHash to test serialization behaviourby Tobin C. Harding · c1e8c562 · Aug 9, 2025 · 1 fileMessage 78 · AdequateInformational 15Details
Commit message · Tobin C. Harding

Use BlockHash to test serialization behaviour

We have a test that verifies the error returned when deserializing a
vector of encodable types on the boundary when the len is equivalent
to `MAX_VEC_SIZE`. Currently the test is using a vector of
`CheckedData` structs but the exact type is immaterial to the logic of
the test. In preparation for moving the `CheckedData` type to the
`p2p` crate patch the test to use `BlockHash` instead (chosen
arbitrarily).

The exact type used to verify error returned

I claim that this patch introduces zero test coverage change.

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

This is a tiny test-only change that swaps one placeholder type for another in a single unit test. It does not alter any production code, behavior, or security boundary.

AI review queuedUpdate CHANGELOG.mdby jasmylon · 0a5cd173 · Aug 8, 2025 · 1 fileMessage 28 · OpaqueInformational 15Details
Commit message · jasmylon

Update CHANGELOG.md

28/100 · OpaqueMessage clarity
✓ Subject identifies a change! No meaningful explanatory body
Why it was queued
documentation-only discountsecond-pass: opaque commit message
AI analysis · Informational 15/100

This commit only fixes three spelling mistakes in the project's CHANGELOG.md file ("serializaton" to "serialization", a duplicated "SimpleDecoder" to "SimpleEncoder", and "wrappend" to "wrapped"). It changes no source code, build scripts, tests, or documentation that affects how the software behaves. There is no security relevance.

AI review queuedRemove serde impls from some primitive typesby Tobin C. Harding · 5a55967e · Aug 8, 2025 · 9 filesMessage 68 · AdequateLow 37Details
Commit message · Tobin C. Harding

Remove serde impls from some primitive types

Remove `serde` impls for anything that is not one of the following:

- Already has a custom impl
- The derive is obvious and not likely to change i.e., its a simple
wrapper type (implies the getter just returns the inner type).

Explicitly this removes `serde` impls from:

- `Block`
- `block::Header`
- `Transaction`
- `TxIn`
- `TxOut`
- `OutPoint`

Note that these can still be serde de/serialized using consensus
encoding. Currently only by using `bitcoin` but if/when
`consensus_encoding` crate comes into existence we can add support
there as is done currently in `bitcoin::consensus::serde`.

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

This commit removes automatic serialization/deserialization support (via the serde library) for several core Bitcoin data types like Block, Transaction, and TxOut. It is a deliberate API cleanup, not a bug fix. The change could break downstream code that relied on these types being directly serde-serializable, but it does not introduce a memory-safety or cryptographic vulnerability on its own. The project notes that these types can still be serialized using Bitcoin consensus encoding instead.

AI review queuedUse no_std when testing (fixes #4681)by Zeegaths · 3a9e5ae4 · Aug 7, 2025 · 10 filesMessage 86 · StrongInformational 15Details
Commit message · Zeegaths

Use no_std when testing (fixes #4681)

- Change from conditional no_std to always no_std in primitives and addresses
- Makes test environment consistent with production and other crates
- Aligns with bitcoin-hashes and bitcoin-units approach

Use BTreeSet directly instead of aliasing as HashSet

- Import BTreeSet directly for clarity
- Move alloc imports to top of test module
- Remove confusing HashSet alias

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
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit changes how two Rust Bitcoin library crates are configured during testing. It makes the code always use 'no_std' mode (a leaner environment without the standard library) even when running tests, and adjusts test imports to use allocator-provided collections instead of the standard library. It also replaces a 'HashSet' alias with a direct 'BTreeSet' import for clarity. There is no security-relevant change to runtime behavior or public API.

AI review queuedUpdate message.rsby Fibonacci747 · 41964d3c · Aug 7, 2025 · 1 fileMessage 28 · OpaqueInformational 15Details
Commit message · Fibonacci747

Update message.rs

28/100 · OpaqueMessage clarity
✓ Subject identifies a change! No meaningful explanatory body
Why it was queued
second-pass: opaque commit message
AI analysis · Informational 15/100

This commit fixes a spelling mistake in a code comment ('afformentioned' to 'aforementioned'). It does not change any executable code, data handling, or network behavior. There is no security relevance.

AI review queuedUpdate lib.rsby Fibonacci747 · a9f474a6 · Aug 7, 2025 · 1 fileMessage 28 · OpaqueInformational 15Details
Commit message · Fibonacci747

Update lib.rs

28/100 · OpaqueMessage clarity
✓ Subject identifies a change! No meaningful explanatory body
Why it was queued
second-pass: opaque commit message
AI analysis · Informational 15/100

This commit fixes a typo in a code comment inside the p2p/src/lib.rs file. It changes 'instead' to 'instead' by adding a missing space after the closing backtick. There is no functional code change, no security impact, and no behavior change.