RB
← All projectsRust Bitcoin

rust-bitcoin

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

BitcoinCryptographic librariesNormal
Repository coverage

2084 commits in the local evidence base

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

461security candidates452second-pass queue2076AI analyses
181commits · 30 days
387commits · 60 days
1287commits · 180 days
2052commits · 365 days
Backfill bands
Aug 5 → Feb 6787 seen32 candidatesComplete
Feb 6 → Jun 6878 seen53 candidatesComplete
Jun 6 → Jul 6211 seen15 candidatesComplete
Jul 6 → Aug 5184 seen2 candidatesComplete
Commit communication

Does the history explain itself?

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

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

Who is changing the project?

Public Git author strings; identities are not independently verified.

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

Published AI watches

Last scanned 27 minutes ago

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

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

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

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

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

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

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

Update API files

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

units: reword docs to block count in relative locktime

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

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

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

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

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

ci: fix labeller permissions

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Update the API text files

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

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

Scrub the transaction encoding logic

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

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

Make the WitnessesEncoder private

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

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

Explore captured commits

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

AI review queuedconsensus_encoding: Import core typesby Tobin C. Harding · d5488bf5 · Oct 1, 2025 · 1 fileMessage 50 · ThinInformational 15Details
Commit message · Tobin C. Harding

consensus_encoding: Import core types

More terse, no loss of clarity. Import `PhantomData` and `mem`.

50/100 · ThinMessage clarity
✓ Descriptive subject✓ Provides an explanatory body
Why it was queued
parser or protocol pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit is a minor code cleanup in the Rust Bitcoin library. It changes how some standard Rust types are imported so the code is shorter and easier to read. There is no functional change, no bug fix, and no security relevance.

AI review queuedconsensus_encoding: Fix test import feature gateby Tobin C. Harding · cc0ceaa7 · Oct 1, 2025 · 1 fileMessage 55 · ThinInformational 15Details
Commit message · Tobin C. Harding

consensus_encoding: Fix test import feature gate

Found with clippy.

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

This is a tiny test-only fix that changes which Rust feature gate guards an import inside unit tests. It has no effect on production code and no security relevance.

Lower-priorityUse recent lock file when checking API filesby Tobin C. Harding · e8c42a72 · Oct 1, 2025 · 1 fileMessage 68 · AdequateInformational 15Details
Commit message · Tobin C. Harding

Use recent lock file when checking API files

Recently we added `--locked` to all the `cargo` invocations in the
script to check API text files. But if one has an updated lock file
(newer than recent) then this achieves nothing. I.e., if one has run
`cargo` _without_ `--locked` then the local lock file will have deps
that are too new (*cough* serde I'm looking at you).

Copy the recent lock file into place when the script is run locally
but preserve the lock file state once the script is finished running.

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

This is a small change to a developer helper script that checks whether the project's public API has changed. It makes the script temporarily use a known-good dependency lock file when run locally, then restores the developer's original lock file afterward. There is no security issue here.

Lower-priorityRe-export the AmountEncoderby Tobin C. Harding · 1f863ab2 · Oct 1, 2025 · 1 fileMessage 50 · ThinInformational 15Details
Commit message · Tobin C. Harding

Re-export the AmountEncoder

Re-export the `AmountEncoder` in the `amount` module so users do not
have to reach into `unsigned`.

50/100 · ThinMessage clarity
✓ Descriptive subject✓ Provides an explanatory body
AI analysis · Informational 15/100

This commit simply makes an existing type called AmountEncoder publicly available from a more convenient module path. It is a routine API usability change with no security implications.

Lower-priorityUpdate the API text filesby Tobin C. Harding · da69bbd5 · Oct 1, 2025 · 1 fileMessage 45 · ThinInformational 15Details
Commit message · Tobin C. Harding

Update the API text files

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This commit only updates a generated text file that lists the public API surface of the crate. It records that an existing type, `AmountEncoder`, was moved or renamed within the `bitcoin_units::amount` module. No actual source code, logic, or behavior changed, and there is no security relevance in this file update.

Lower-priorityunits: Add semicolonby Tobin C. Harding · b3cef388 · Oct 1, 2025 · 1 fileMessage 43 · ThinInformational 15Details
Commit message · Tobin C. Harding

units: Add semicolon

Clippy lint `semi_colon_if_nothing_returned` is firing. Add a
semicolon as requested.

43/100 · ThinMessage clarity
✓ Subject identifies a change✓ Provides an explanatory body
AI analysis · Informational 15/100

This commit adds a single missing semicolon in a Rust formatting function. It is a cosmetic/style fix to silence a Clippy lint and does not change program behavior or fix any security issue.

Lower-priorityunits: Feature gate REVERSEby Tobin C. Harding · cdc0675e · Oct 1, 2025 · 1 fileMessage 50 · ThinInformational 15Details
Commit message · Tobin C. Harding

units: Feature gate REVERSE

Clippy is warning for unused, feature gate the constant.

Not sure how this got past CI ...

50/100 · ThinMessage clarity
✓ Descriptive subject✓ Provides an explanatory body
AI analysis · Informational 15/100

This is a tiny build-hygiene patch. A Rust compiler lint (Clippy) was warning that a constant named REVERSE was unused in some build configurations, so the developer added a feature gate so it only exists when the 'hex' feature is enabled. There is no security issue here.

Lower-priorityprimitives: replace opcodes.rs with a skeleton file with bare minimum functionalityby Andrew Poelstra · e05df3f1 · Sep 30, 2025 · 2 filesMessage 73 · AdequateInformational 15Details
Commit message · Andrew Poelstra

primitives: replace opcodes.rs with a skeleton file with bare minimum functionality

The `Opcode` type in primitives/src/opcodes.rs is used in two places: in
primitives/script/mod.rs to parse numbers (by looking at OP_PUSHDATAx)
and in primitives/script/borrowed.rs to display opcodes when outputting
script "asm".

We don't need the classification, we don't need the alternate names, we
don't need the decoding methods, we don't need serde, we don't even need
the type. We just need four constants and a formatting method.

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

This commit is a routine code cleanup, not a security fix. It replaces a large, detailed Bitcoin opcode module with a much smaller 'skeleton' version that keeps only the four opcode constants and the formatting helper actually used by the rest of the crate. No behavior that affects script parsing, validation, or consensus is changed.

AI review queuedсhore(tests): remove obsolete debug-output coverageby Bugar · e0e698ec · Sep 30, 2025 · 2 filesMessage 60 · AdequateInformational 15Details
Commit message · Bugar

сhore(tests): remove obsolete debug-output coverage

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

This commit simply removes two test cases that only printed debug output to the console. No production code, logic, or security behavior is changed. It is a routine cleanup with no security relevance.

Lower-prioritydocs: fix syntax errors and grammar in policy.mdby Klaklax · 6def7220 · Sep 30, 2025 · 1 fileMessage 57 · ThinInformational 15Details
Commit message · Klaklax

docs: fix syntax errors and grammar in policy.md

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This commit fixes two minor mistakes in a documentation file: a missing 'fn' keyword in a code example and a duplicated word ('do should not' → 'should not'). These are purely cosmetic documentation corrections with no effect on actual code behavior or security.

AI review queuedRun the formatterby Tobin C. Harding · 213d6ef9 · Sep 30, 2025 · 2 filesMessage 28 · OpaqueInformational 15Details
Commit message · Tobin C. Harding

Run the formatter

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 only runs a code formatter on two fuzz test files. It reorders import statements so they appear alphabetically. There are no functional code changes, no bug fixes, and no security relevance.

AI review queuedRemove unnecessary checkby Shing Him Ng · 3f20d549 · Sep 30, 2025 · 3 filesMessage 28 · OpaqueInformational 15Details
Commit message · Shing Him Ng

Remove unnecessary check

28/100 · OpaqueMessage clarity
✓ Subject identifies a change! No meaningful explanatory body
Why it was queued
signing or wallet pathsecond-pass: opaque commit messagesecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit removes a redundant error-message assertion from three internal fuzz-testing programs. The removed line only printed a nicer message when a deserialization failed; the very next line still checks that the round-trip result matches the original value. It does not change any production library code, user-facing APIs, or security behavior.

AI review queuedMove serialization round trip check before object mutationby Shing Him Ng · 8e7f2d28 · Sep 30, 2025 · 1 fileMessage 75 · AdequateInformational 15Details
Commit message · Shing Him Ng

Move serialization round trip check before object mutation

Serialization before object mutation causes the test to fail

75/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Mentions testing or verification
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit fixes a fuzz test so that it checks serialization round-trip correctness before modifying the object, rather than after. The change is purely a test logic correction and does not affect production code or introduce any security issue.

Lower-priorityExclude encoding::Decodable from mutation testingby Jamil Lambert, PhD · 9676edcd · Sep 29, 2025 · 1 fileMessage 90 · StrongInformational 15Details
Commit message · Jamil Lambert, PhD

Exclude encoding::Decodable from mutation testing

Recently added encoding::Decodable impls construct a new decoder.
Mutation testing replaces these with Default::default(), which is
equivalent to the intended new().

Exclude these from mutation testing to avoid false positives.

90/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Mentions testing or verification
AI analysis · Informational 15/100

This commit only changes the mutation-testing configuration file. It tells the mutation-testing tool to skip testing certain code patterns because the tool's generated fake failures would be meaningless, not because of any real bug or security issue. There is no change to the actual Bitcoin library code that users run.

Lower-prioritydocs: fix malformed markdown link references in CHANGELOG.mdby Merkel Tranjes · a2830ea8 · Sep 29, 2025 · 1 fileMessage 62 · AdequateInformational 15Details
Commit message · Merkel Tranjes

docs: fix malformed markdown link references in CHANGELOG.md

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

This commit only fixes two broken Markdown link references in the project's CHANGELOG.md file. It removes extra spaces and stray characters from the link syntax so the links render correctly. There are no code changes and no security implications.

Lower-priorityfix grammar in API test commentsby viktorking7 · 5cd163d4 · Sep 29, 2025 · 3 filesMessage 55 · ThinInformational 15Details
Commit message · viktorking7

fix grammar in API test comments

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

This commit only fixes grammar in three comment lines inside test files. It changes 'The point of these tests are' to 'The point of these tests is'. There is no code, logic, or security change.

AI review queueddocs: fix typoby radik878 · 4732fdb1 · Sep 28, 2025 · 1 fileMessage 40 · ThinInformational 15Details
Commit message · radik878

docs: fix typo

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 four spelling mistakes where 'PSBT' was incorrectly written as 'PBST' in documentation comments and an error message string. It does not change any program logic, data handling, or security behavior.

AI review queuedconsensus_encoding: API updateby Nick Johnson · 0ac8e91f · Sep 28, 2025 · 1 fileMessage 35 · OpaqueInformational 15Details
Commit message · Nick Johnson

consensus_encoding: API update

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

This commit only updates a public API listing file (all-features.txt) to reflect that several decoder types now expose a new public method called min_bytes_needed(). It is a documentation/tracking change with no actual code modifications, no security fixes, and no behavior changes.

AI review queuedconsensus_encoding: add read interface for decodersby Nick Johnson · 93a085bd · Sep 28, 2025 · 9 filesMessage 93 · StrongInformational 17Details
Commit message · Nick Johnson

consensus_encoding: add read interface for decoders

Adds a min_bytes_needed requirement to the Decoder trait so that
the intermediate buffers used by the Read driver are appropriately sized.
push_decode doesn't have this function on the Decoder trait itself, but
given the simpler use case for bitcoin, I think it is an OK assumption
that all decoder's will know their min bytes.

Largely based on Martin Habovštiak's push_decode crate:
https://github.com/Kixunil/push_decode

93/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Links an issue, advisory, or supporting reference
Why it was queued
signing or wallet pathparser or protocol pathsecond-pass: security-sensitive path
AI analysis · Informational 17/100

This commit adds a new way to decode Bitcoin data directly from a stream or file reader, plus a small required method on all decoders that reports how many more bytes are needed. It is a feature addition, not a fix for a known security bug. There is no evidence in the commit or supplied references that it addresses a vulnerability.

AI review queueddocs: fix inconsistent commentby radik878 · 5cd12014 · Sep 28, 2025 · 1 fileMessage 47 · ThinInformational 15Details
Commit message · radik878

docs: fix inconsistent comment

47/100 · ThinMessage clarity
✓ Descriptive subject✓ 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 a one-word typo in a Rust source code comment. The comment for a PSBT (Partially Signed Bitcoin Transaction) output map constant incorrectly referenced 'PSBT_IN_PROPRIETARY' (input) instead of 'PSBT_OUT_PROPRIETARY' (output). No executable code was changed, so there is no security or functional impact.

AI review queueddocs: fix inconsistance in commentby radik878 · 94e598b3 · Sep 28, 2025 · 1 fileMessage 57 · ThinInformational 15Details
Commit message · radik878

docs: fix inconsistance in comment

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ 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 corrects a typo in a code comment. The actual numeric constant was already correct (0x15); only the comment above it wrongly said 0x14. There is no functional code change and therefore no security impact.

AI review queuedconsensus_encoding: add decoder I/O driversby Nick Johnson · 9fb668e1 · Sep 28, 2025 · 2 filesMessage 76 · AdequateInformational 15Details
Commit message · Nick Johnson

consensus_encoding: add decoder I/O drivers

The BufReader trait is much more efficient than the standard Read
trait, so it deserves its own interface. This is the opposite case on
the encode side where a buffered writer has the same interface as a
non-buffered one.

Unlike its Encodable sibling, the Decodable generic cannot be made
?Sized since it is being created and returned by value.

A Read-based interface will be added, but requires some sort of
min-length data exposed from each decoder.

Largely based on Martin Habovštiak's push_decode crate:
https://github.com/Kixunil/push_decode

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

This commit adds new helper functions for reading and decoding Bitcoin consensus data from byte slices and buffered I/O readers. It is a routine feature addition with no apparent security bug. The code includes proper error handling and unit tests.

AI review queued2025-09-28 automated rustfmt nightlyby Fmt Bot · dbce0253 · Sep 28, 2025 · 8 filesMessage 45 · ThinInformational 15Details
Commit message · Fmt Bot

2025-09-28 automated rustfmt nightly

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

This commit is purely a code-formatting run by the rustfmt tool. It only reorders imports, breaks long lines, and adjusts whitespace. There are no functional changes, no bug fixes, and no security-related alterations.

Lower-priorityconsensus_encoding: add encoder composition testsby Nick Johnson · 6bd571da · Sep 27, 2025 · 1 fileMessage 55 · ThinInformational 15Details
Commit message · Nick Johnson

consensus_encoding: add encoder composition tests

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

This commit only adds new unit tests for existing encoder composition code. It does not change any production logic, fix bugs, or alter behavior. There is no security issue here.

Lower-priorityAdd `arbitrary_witness` and `parse_int` fuzz targetsby Shing Him Ng · 3f20f068 · Sep 27, 2025 · 4 filesMessage 60 · AdequateInformational 15Details
Commit message · Shing Him Ng

Add `arbitrary_witness` and `parse_int` fuzz targets

60/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification! No meaningful explanatory body
Why it was queued
fuzzing or regression evidence
AI analysis · Informational 15/100

This commit only adds two new fuzz-testing targets (automated test programs that feed random data to library functions) for the rust-bitcoin project. It does not change any production code, fix a bug, or alter behavior visible to users. There is no security issue in the commit itself.