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
2050commits · 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.

Lower-priorityMove opcode aliases to all moduleby Tobin C. Harding · 9b3ebb67 · Sep 18, 2025 · 4 filesMessage 60 · AdequateInformational 20Details
Commit message · Tobin C. Harding

Move opcode aliases to all module

Currently they are _outside_ of `all`, lets put them in `all` so the
`use opcodes::all::*` import picks them up too.

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

This change is purely a code organization cleanup. It moves a handful of Bitcoin script opcode aliases (like OP_0, OP_TRUE, OP_NOP2) from outside a module into the 'all' submodule so that a wildcard import picks them up. No behavior of the library changes, and there is no security fix or vulnerability here.

Lower-priorityconsensus_encoding: Use correct MSRVby Tobin C. Harding · 2293b27e · Sep 17, 2025 · 1 fileMessage 70 · AdequateInformational 15Details
Commit message · Tobin C. Harding

consensus_encoding: Use correct MSRV

We somehow missed updating the MSRV of this crate. Found by clippy,
not sure why this lint warning wasn't picked up by CI?

However clippy is still warning:

```bash
just lint

cargo +$(cat ./nightly-version) clippy --workspace --all-targets --all-features -- --deny warnings
warning: the MSRV in `clippy.toml` and `Cargo.toml` differ; using `1.74.0` from `clippy.toml`
...
```

But I don't see any usage of the old MSRV in any toml file?

70/100 · AdequateMessage clarity
✓ Descriptive subject✓ Provides detailed explanatory context✓ Explains rationale or failure mode
AI analysis · Informational 15/100

This commit updates the declared minimum supported Rust version (MSRV) for one sub-crate from 1.63.0 to 1.74.0 so it matches the rest of the workspace. It is a build-metadata correction with no code changes and no security impact.

Lower-priorityconsensus_encoding: Fix clippy lifetime warningsby Tobin C. Harding · fab88248 · Sep 17, 2025 · 1 fileMessage 80 · StrongInformational 15Details
Commit message · Tobin C. Harding

consensus_encoding: Fix clippy lifetime warnings

I ran `cargo clippy --fix --lib -p consensus-encoding` and whala some
things got changed. I hop this stuff got past CI because of update to
nightly.

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

This commit only cleans up Rust compiler/clippy warnings about lifetime syntax. It changes how lifetimes are written in two places but does not alter what the code actually does. There is no security issue here.

Lower-priorityBump honggfuzz to 0.5.57by Shing Him Ng · 1de0500f · Sep 17, 2025 · 4 filesMessage 61 · AdequateInformational 15Details
Commit message · Shing Him Ng

Bump honggfuzz to 0.5.57

This is the latest release, which was getting pulled in since the
version was previously set as "0.5.56", which gets interpreted as a
carat requirement ("^0.5.56")

61/100 · AdequateMessage clarity
✓ Subject identifies a change✓ Names a concrete action or component✓ Provides detailed explanatory context
Why it was queued
fuzzing or regression evidence
AI analysis · Informational 15/100

This commit simply updates a fuzz-testing helper library called honggfuzz from version 0.5.56 to 0.5.57 in the project's lock files and fuzz-testing configuration. It does not change any production Bitcoin code, wallet logic, or network handling. There is no indication this is a security fix.

Lower-priorityRename string-parsing targets to parse_*by Shing Him Ng · f0ec486c · Sep 17, 2025 · 2 filesMessage 45 · ThinInformational 15Details
Commit message · Shing Him Ng

Rename string-parsing targets to parse_*

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

This commit simply renames two fuzz test files from 'deserialize_address.rs' to 'parse_address.rs' and 'outpoint_string.rs' to 'parse_outpoint.rs'. The actual code inside the files is unchanged. It is a routine cleanup with no security relevance.

Lower-priorityAdd mutant excludes for serde expecting messagesby Jamil Lambert, PhD · 81e149ed · Sep 17, 2025 · 1 fileMessage 68 · AdequateInformational 15Details
Commit message · Jamil Lambert, PhD

Add mutant excludes for serde expecting messages

Two mutants were generated by replacing the `expecting` method of
serde visitors with a an empty string.

Add an exclusion for their `serde_details::Visitor` impl.

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

This commit only updates the project's mutation-testing configuration file. It tells the mutation-testing tool not to try altering certain serde visitor error-message methods, because those changes would not be meaningful to test. There is no code behavior change, no bug fix, and no security relevance.

Lower-priorityAdd mutant excludes for deprecated to_hex methodsby Jamil Lambert, PhD · 8d3d5042 · Sep 17, 2025 · 1 fileMessage 60 · AdequateInformational 15Details
Commit message · Jamil Lambert, PhD

Add mutant excludes for deprecated to_hex methods

Two mutants were generated for deprecated methods.

Added excludes for them.

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

This commit only updates the mutation-testing configuration file to skip testing two additional deprecated methods. It does not change any production code, cryptographic logic, network handling, or user-facing behavior. There is no security issue here.

Lower-priorityAdd missing SignedAmount testsby Jamil Lambert, PhD · e6ea5f46 · Sep 17, 2025 · 1 fileMessage 68 · AdequateInformational 15Details
Commit message · Jamil Lambert, PhD

Add missing SignedAmount tests

There were some tests for NumOpResult that were only done for Amount.

This was caught by the mutation testing.

Add the SignedAmount tests as well.

68/100 · AdequateMessage clarity
✓ Descriptive subject✓ Provides detailed explanatory context✓ Mentions testing or verification
AI analysis · Informational 15/100

This commit only adds new unit tests for the SignedAmount type. It does not change any production code, fix a bug, or alter behavior. There is no security relevance.

Lower-priorityMove Amount testby Jamil Lambert, PhD · f8085468 · Sep 17, 2025 · 1 fileMessage 73 · AdequateInformational 15Details
Commit message · Jamil Lambert, PhD

Move Amount test

The tests for Amount and SignedAmount were not together. There are
missing SignedAmount tests which are easier to catch when the tests
are together.

Arrange the tests so that Amount and SignedAmount tests are together.

Rename the test to specifically indicate it is for Amount.

Code move only.

73/100 · AdequateMessage clarity
✓ Subject identifies a change✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Mentions testing or verification
AI analysis · Informational 15/100

This commit only rearranges existing test code and renames one test. No production code was changed, and no security issue is present.

Lower-priorityIncrease Criterion benchmark time for blockby Jamil Lambert, PhD · bded679d · Sep 17, 2025 · 1 fileMessage 60 · AdequateInformational 15Details
Commit message · Jamil Lambert, PhD

Increase Criterion benchmark time for block

The benchmark for block does not complete 100 samples in the default 5
seconds.

Increase the time to 10 seconds.

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

This commit only changes a benchmark test so it runs longer. It does not touch any production code, so it has no security impact on users of the library.

AI review queuedMove bitcoin benches to Criterionby Jamil Lambert, PhD · 98da28c8 · Sep 17, 2025 · 10 filesMessage 68 · AdequateInformational 15Details
Commit message · Jamil Lambert, PhD

Move bitcoin benches to Criterion

Move the benches from bitcoin to a new crate and use criterion to do the
benchmarking.

Criterion could not be run from within the bitcoin crate since it depends
on other packages that require rustc 1.81 or newer.

Also use hex_lit which works with criterion.

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

This commit is a routine refactoring of benchmark tests. It moves performance-measuring code out of the main bitcoin crate into a separate 'benches' crate and switches the benchmarking framework from Rust's built-in nightly-only 'test' harness to the popular 'Criterion' library. No application logic, security checks, or public APIs are changed.

Lower-priorityconsenus_encoding: Make encoding functions use unsizedby Tobin C. Harding · 816cd96b · Sep 17, 2025 · 1 fileMessage 85 · StrongInformational 15Details
Commit message · Tobin C. Harding

consenus_encoding: Make encoding functions use unsized

`Self` in `Encodable` is not sized (because the `Self` type within
traits is not sized by default). And also generic types as function
arguments are sized by default so the args to our encoding functions
`(e.g., `encode_to_vec`) are sized but they do not need to be.

Add explicit `?Sized` to the encoding functions.

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode
AI analysis · Informational 15/100

This commit is a routine Rust type-system relaxation. It changes three encoding helper functions so they can accept trait objects and other unsized types, not just fixed-size types. There is no bug fix, behavior change, or security patch here—only a flexibility improvement for callers.

Lower-priorityImplement new Encodable trait for Script<T>by Tobin C. Harding · c2c567ba · Sep 17, 2025 · 2 filesMessage 60 · AdequateInformational 15Details
Commit message · Tobin C. Harding

Implement new Encodable trait for Script<T>

Add functionality to enable consensus encoding scripts.

Re-export the encoder from the `script` module.

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

This commit adds a new way to serialize (encode) Bitcoin scripts in the rust-bitcoin library. It is a routine feature addition: it lets Script<T> be encoded with a length prefix, matching Bitcoin's consensus format. There is no indication of a security bug, fix, or vulnerability.

Lower-priorityAdd prefix support to BytesEncoderby Tobin C. Harding · 9d5ff8ad · Sep 17, 2025 · 4 filesMessage 68 · AdequateInformational 18Details
Commit message · Tobin C. Harding

Add prefix support to BytesEncoder

Done in preparation for adding support to `primitives` for encoding
scripts.

Enable encoding with the compact size length prefix.

N.B. If the encoder is constructed with an empty slice the first call
to `current_chunk` will return `Some([])`.

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

This commit adds a new optional feature to a low-level byte-encoding helper in the rust-bitcoin library. It lets callers prepend a Bitcoin-style 'compact size' length prefix when encoding a byte slice. The change is purely additive, includes tests, and does not alter existing behavior of the 'without length prefix' constructor. There is no indication it fixes a security bug or introduces a vulnerability.

Lower-priorityinternals: Make compact_size::MAX_ENCODING_SIZE publicby Tobin C. Harding · e0b9d397 · Sep 17, 2025 · 1 fileMessage 65 · AdequateInformational 16Details
Commit message · Tobin C. Harding

internals: Make compact_size::MAX_ENCODING_SIZE public

I would like to use this const in `consensus_encoding`.

65/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
AI analysis · Informational 16/100

This commit simply changes the visibility of a constant named MAX_ENCODING_SIZE from internal-only to public. It does not alter any behavior, logic, or data handling. There is no security issue here.

Lower-priorityAdd units tests for the BytesEncoderby Tobin C. Harding · 3c01d817 · Sep 17, 2025 · 1 fileMessage 70 · AdequateInformational 15Details
Commit message · Tobin C. Harding

Add units tests for the BytesEncoder

In preparation for adding an additional method to the `BytesEncoder`
add a couple of simple units tests.

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

This commit only adds new unit tests for an existing encoding helper. It does not change any production code, fix bugs, or introduce new behavior. There is no security relevance.

Lower-priorityRemove lifetime from encoder_newtype macroby Tobin C. Harding · 7d2c670e · Sep 17, 2025 · 1 fileMessage 68 · AdequateInformational 15Details
Commit message · Tobin C. Harding

Remove lifetime from encoder_newtype macro

If we make sure all callers of the macro use `'e` as the lifetime then
the macro can handle nested encoders that all have a single lifetime.

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 internal Rust macro cleanup. It removes an unnecessary generic lifetime parameter from a macro that wraps existing encoder types. There is no functional change to how data is encoded or decoded, and no security relevance is visible in the commit.

AI review queuedconsensus_encoding: add decoder compositionby Nick Johnson · c7792c0e · Sep 16, 2025 · 3 filesMessage 58 · ThinInformational 15Details
Commit message · Nick Johnson

consensus_encoding: add decoder composition

This is largely based on push_decode's "chain" composition. Decoder's
are chained together and the result of both are returned as tuple.
Higher level composition just uses Decoder2's logic internally.

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

This commit adds new building blocks for combining multiple data decoders in sequence inside the rust-bitcoin library. It is a pure feature addition: it introduces helper types (Decoder2, Decoder3, Decoder4, Decoder6 and an Either error type) that let developers chain decoders together, plus tests showing they work. There is no bug fix, no mention of any security issue, and nothing in the code appears to create a vulnerability.

AI review queuedconsensus_encoding: add ArrayDecoderby Nick Johnson · 5274b00d · Sep 16, 2025 · 4 filesMessage 78 · AdequateInformational 15Details
Commit message · Nick Johnson

consensus_encoding: add ArrayDecoder

Very similar to push_decode's decoder, but is simplified by making
no effort to avoid the cost of zeo initialization of the array buffer.

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

78/100 · AdequateMessage clarity
✓ Descriptive subject✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ 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 a new helper decoder called ArrayDecoder to the rust-bitcoin consensus_encoding crate. It simply reads a fixed number of bytes from a stream and returns them as an array. There is no bug fix, behavior change, or security-sensitive modification here—just new code and tests.

AI review queuedconsensus_encoding: add decoder traitsby Nick Johnson · a562ce02 · Sep 16, 2025 · 2 filesMessage 66 · AdequateInformational 15Details
Commit message · Nick Johnson

consensus_encoding: add decoder traits

Following the push_decode model, the Decoder trait has two methods,
`push_bytes()` and `end()`. These are two separate calls rather than
overloading a result in one to make it easer for final validation and
marshalling to happen in `end()`. `push_bytes()` operates on a mutable
reference to a slice for easier decoder composition.

Decoder is Sized since it consumes self in `end()`.

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

66/100 · AdequateMessage clarity
✓ Descriptive subject✓ 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 Rust traits (interface definitions) for a streaming, push-based Bitcoin consensus decoder. It only introduces abstract code patterns—no actual decoding logic for real Bitcoin data types, no changes to existing behavior, and no bug fixes. There is nothing here that directly affects security.

Security candidateFix function rustdoc titles to use third personby oyindamola oladapo · 6b1d663d · Sep 16, 2025 · 24 filesMessage 68 · AdequateInformational 15Details
Commit message · oyindamola oladapo

Fix function rustdoc titles to use third person

Updates function documentation to follow the project's policy of using third person in rustdoc titles (e.g., "Encodes" instead of "Encode").

Fix more function rustdoc titles to use third person

docs: add policy for third-person function documentation

docs: fix whitespace issue in policy.md

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

This commit only changes the wording of code documentation comments (rustdoc) from imperative to third-person style (e.g., 'Parse' to 'Parses'). It also adds a project policy note about this documentation style. No executable code, logic, or behavior was modified, so it has no security impact.

AI review queuedp2p: Update arbitrary dep to 1.4.1by Tobin C. Harding · e1d874d7 · Sep 16, 2025 · 1 fileMessage 90 · StrongInformational 15Details
Commit message · Tobin C. Harding

p2p: Update arbitrary dep to 1.4.1

I don't know why `cargo` can't work this out but `just
update-lock-files` is throwing an error

```
error: failed to select a version for `arbitrary`.
... required by package `bitcoin-p2p-messages v0.1.0 (/home/tobin/build/rust-bitcoin/p2p)`
... which satisfies path dependency `p2p` of package `bitcoin-fuzz v0.0.1 (/home/tobin/build/rust-bitcoin/fuzz)`
versions that meet the requirements `^1.4` are: 1.4.0

all possible versions conflict with previously selected packages.

previously selected package `arbitrary v1.4.1`
... which satisfies dependency `arbitrary = "^1.4.1"` of package `bitcoin-fuzz v0.0.1 (/home/tobin/build/rust-bitcoin/fuzz)`
```

Just update the arbitrary dep to `v1.4.1` like in the other crates.

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
Why it was queued
fuzzing or regression evidencesecond-pass: broader security terminology
AI analysis · Informational 15/100

This commit is a routine dependency version bump in a build configuration file. It changes the required version of an optional test/fuzzing helper library from '1.4' to '1.4.1' so that it matches another crate in the same workspace and resolves a Cargo lock-file conflict. There is no indication this fixes or introduces a security vulnerability.

Lower-priorityCI: Use --locked when calling cargo public-apiby Tobin C. Harding · 19e830bb · Sep 16, 2025 · 2 filesMessage 80 · StrongInformational 15Details
Commit message · Tobin C. Harding

CI: Use --locked when calling cargo public-api

Copy the `Cargo-recent.lock` file into place in CI and in the script
use `--locked` on all invocations of `cargo` that need it.

80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
AI analysis · Informational 15/100

This is a routine continuous-integration (CI) maintenance patch. It makes the automated API-checking job use a fixed dependency lockfile and the --locked flag so builds are reproducible. There is no change to the library code that users run, and no security issue is being fixed or introduced.

AI review queuedbuild(deps): bump actions/checkout from 4 to 5by dependabot[bot] · 3969c6fe · Sep 15, 2025 · 1 fileMessage 88 · StrongInformational 15Details
Commit message · dependabot[bot]

build(deps): bump actions/checkout from 4 to 5

Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

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

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

88/100 · StrongMessage clarity
✓ 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 the GitHub Actions 'actions/checkout' dependency from version 4 to version 5 in the project's CI workflow file. There is no indication of a security fix or vulnerability in the commit itself.

Lower-priorityUse script hash public constructorsby Tobin C. Harding · 6b235313 · Sep 14, 2025 · 1 fileMessage 78 · AdequateInformational 15Details
Commit message · Tobin C. Harding

Use script hash public constructors

In preparation for moving the script hash types use public constructor
instead of `ScriptHash(foo)`.

Test code only.

No logic change or test coverage change.

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

This commit only changes test code inside the rust-bitcoin library. It swaps internal struct-literal construction of script hash types for public constructor methods. There is no change to production code, no security fix, and no behavior change.