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
185commits · 30 days
409commits · 60 days
1296commits · 180 days
2065commits · 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 56 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 queuedp2p: implement decoding for Addressby yancy · ca7e9259 · Feb 19, 2026 · 1 fileMessage 86 · StrongInformational 16Details
Commit message · yancy

p2p: implement decoding for Address

Endian byte order for both IPv4 and the port number are interpreted as
big endian per the Addr section of:
https://developer.bitcoin.org/reference/p2p_networking.html

In the test cases, `deserialize` is swapped for
`encoding::decode_from_slice` since the addition of push bytes decoding
is planned to replace the existing `deserialize` implementation.

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

This commit adds a new way to decode Bitcoin peer-to-peer network addresses in the rust-bitcoin library. It is a feature/refactoring change that introduces a new decoder implementation and swaps test cases to use it. There is no indication in the commit that it fixes a security bug, vulnerability, or crash.

Lower-priorityRemove pre-cargo-rbmt settings fileby Nick Johnson · c2045c1b · Feb 18, 2026 · 2 filesMessage 45 · ThinInformational 15Details
Commit message · Nick Johnson

Remove pre-cargo-rbmt settings file

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

This commit simply deletes two helper shell scripts from the contrib/ directory that were used by the project's internal CI tooling. There is no change to the actual Rust Bitcoin library code, no change to how the software behaves at runtime, and no security relevance.

Lower-priorityClean up accidentally checked in filesby Nick Johnson · 0604e091 · Feb 18, 2026 · 2 filesMessage 45 · ThinInformational 15Details
Commit message · Nick Johnson

Clean up accidentally checked in files

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

This commit simply deletes two compiled Rust library files (.rlib) that were accidentally added to the repository. There is no code change, no bug fix, and no security issue in the commit itself.

Security candidateSwitch update lock files to cargo-rbmtby Nick Johnson · 77a8454f · Feb 18, 2026 · 2 filesMessage 45 · ThinInformational 15Details
Commit message · Nick Johnson

Switch update lock files to cargo-rbmt

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

This commit is a routine build-maintenance change. It removes an old shell script used to update dependency lock files and switches the project to using a new internal tool called cargo-rbmt for the same task. There is no change to the actual Bitcoin library code, no security fix, and no vulnerability introduced.

AI review queuedconsensus: Add CompactSize range check to deserializationby Erick Cestari · 1dd1d92f · Feb 18, 2026 · 4 filesMessage 83 · StrongModerate 61Details
Commit message · Erick Cestari

consensus: Add CompactSize range check to deserialization

Reject CompactSize values exceeding MAX_COMPACT_SIZE (0x02000000) during
deserialization, matching Bitcoin Core's serialize.h limit.

Extract read_compact_size logic into a private free function to allow
tests to bypass the range check when validating non-minimal encoding.

Add test for the new SizeTooLargeCompactSize error at the boundary.

Update bip152 error test to expect failure at deserialization rather
than at index computation, since the range check now triggers earlier.

83/100 · StrongMessage clarity
✓ Specific, 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 · Moderate 61/100

This commit adds a safety limit when reading Bitcoin's 'CompactSize' numbers from serialized data. Before, a malformed message could claim an absurdly large number of elements (for example, billions of items in a list), which could be used to exhaust memory or trigger a panic. Now values above Bitcoin Core's documented maximum are rejected early during parsing. The change also refactors the parsing code so tests can still check non-minimal encoding without the new limit.

AI review queuedhashes: simplify trait boundsby Conger Rassen · c423b93a · Feb 18, 2026 · 1 fileMessage 35 · OpaqueInformational 15Details
Commit message · Conger Rassen

hashes: simplify trait bounds

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 is a tiny code cleanup change in the rust-bitcoin hashes library. It replaces a more verbose way of referring to a constant (<H as HashEngine>::BLOCK_SIZE) with a simpler equivalent (H::BLOCK_SIZE). The behavior of the program is unchanged, and there is no security relevance.

Lower-priorityunits: Update API filesby Mitchell Bagot · 06dbf32a · Feb 17, 2026 · 3 filesMessage 43 · ThinInformational 15Details
Commit message · Mitchell Bagot

units: Update API files

Update the units api files for the previous patch.

43/100 · ThinMessage clarity
✓ Subject identifies a change✓ Provides an explanatory body
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This commit only updates generated API snapshot files (text files listing public Rust traits and functions). It adds entries showing that several types now implement additional formatting traits like Binary, LowerHex, Octal, UpperHex, and Display. There is no actual code change in this commit, and nothing in it fixes or introduces a security problem.

AI review queuedunits: Add fmt traits for simple wrapper typesby Mitchell Bagot · 9c166f5e · Feb 17, 2026 · 11 filesMessage 60 · AdequateInformational 19Details
Commit message · Mitchell Bagot

units: Add fmt traits for simple wrapper types

Add Display, LowerHex, UpperHex, Octal and Binary implementations for
all integer wrapper types except FeeRate.

60/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 19/100

This commit adds new ways to print or display several simple numeric wrapper types in the rust-bitcoin library, such as block heights, amounts, and timestamps. It does not change any security-sensitive logic, parsing, arithmetic, or network behavior. It is a routine API enhancement with no apparent security relevance.

AI review queuedupdate renamed clippy lintsby Conger Rassen · be83540a · Feb 17, 2026 · 1 fileMessage 35 · OpaqueInformational 15Details
Commit message · Conger Rassen

update renamed clippy lints

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 simply renames two Clippy lint settings in the project's configuration file to match updated Clippy lint names. It does not change any executable code, behavior, or security properties of the library.

Lower-priorityp2p: Implement `encoding` traits for `SendCmpct`by rustaceanrob · db1bb176 · Feb 17, 2026 · 1 fileMessage 60 · AdequateInformational 15Details
Commit message · rustaceanrob

p2p: Implement `encoding` traits for `SendCmpct`

Keeping the decoding side the same here and accepting any non-zero `u8`
as truthy.

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 encode and decode the Bitcoin 'sendcmpct' P2P network message in the rust-bitcoin library. It is a straightforward feature addition that mirrors existing behavior: any non-zero byte is treated as 'true' for the send_compact flag. There is no indication of a security bug being fixed or introduced.

Security candidatep2p: Implement `encoding` traits for `HeaderAndShortIds`by rustaceanrob · db23a0aa · Feb 17, 2026 · 1 fileMessage 90 · StrongInformational 24Details
Commit message · rustaceanrob

p2p: Implement `encoding` traits for `HeaderAndShortIds`

The overflow check is preserved in the decoding, which I see was added
recently. Although, I don't claim to fully understand why this implies the
individual differences between indexes also overflow.

Clippy complained about a complex type so I introduced an alias.

90/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Names security-relevant behavior explicitly
Why it was queued
memory safety
AI analysis · Informational 24/100

This commit adds new encoding and decoding machinery for a Bitcoin compact-block-relay data structure called HeaderAndShortIds. It preserves an existing safety check that prevents the combined number of short transaction IDs and prefilled transactions from overflowing a 16-bit limit. The change is mostly a refactor to use newer generic encoder traits; it does not appear to introduce a new vulnerability, but the author notes they do not fully understand why the overflow check guarantees safety of individual index differences.

Lower-priorityp2p: Implement `encoding` traits for `BlockTransactions`by rustaceanrob · d8ce5573 · Feb 17, 2026 · 1 fileMessage 50 · ThinInformational 18Details
Commit message · rustaceanrob

p2p: Implement `encoding` traits for `BlockTransactions`

Keep rollin! - Fred Durst

50/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
AI analysis · Informational 18/100

This commit adds standard encoding and decoding machinery for a Bitcoin peer-to-peer message type called BlockTransactions. It does not change behavior, fix a bug, or close a security hole; it is a routine implementation of serialization traits used elsewhere in the crate.

Lower-priorityp2p: Implement `encoding` traits for `ShortId`by rustaceanrob · 637282a1 · Feb 17, 2026 · 1 fileMessage 45 · ThinInformational 15Details
Commit message · rustaceanrob

p2p: Implement `encoding` traits for `ShortId`

Not much to say here.

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

This commit adds new encoding and decoding machinery for a 6-byte transaction identifier (ShortId) used in Bitcoin compact block relay (BIP 152). It is a routine feature addition that wires an existing type into a newer internal encoding framework. There is no indication of a bug, vulnerability, or security fix in the diff or commit message.

Lower-priorityp2p: Implement `encoding` traits for `PrefilledTransaction`by rustaceanrob · 93658050 · Feb 17, 2026 · 1 fileMessage 65 · AdequateInformational 18Details
Commit message · rustaceanrob

p2p: Implement `encoding` traits for `PrefilledTransaction`

More of the same. Only interesting thing here is passing the invalid
index through as an error variant.

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

This commit adds new encoding/decoding machinery for a Bitcoin P2P data structure called PrefilledTransaction. The main security-relevant detail is that it now explicitly rejects an invalid (too-large) transaction index instead of silently truncating or misinterpreting it. It is a defensive correctness improvement, not a fix for a known exploitable vulnerability.

Security candidatebitcoin: Replace gated no_std with blanket no_stdby Mitchell Bagot · 3492b305 · Feb 17, 2026 · 18 filesMessage 68 · AdequateInformational 15Details
Commit message · Mitchell Bagot

bitcoin: Replace gated no_std with blanket no_std

Most crates in the repo use no_std with an explicit extern crate std
gated behind a std feature. bitcoin and io do not, instead gating the
no_std behind the absence of a std feature. These should be made
uniform.

Replaced gated no_std with blanket no_std and gated extern std.
Fix imports for std types no longer implicitly available in no_std.

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 is a routine code cleanup that makes the crate's no_std setup consistent with other crates in the same repository. It does not fix a security bug and does not change behavior for users.

Lower-priorityio: Replace gated no_std with blanket no_stdby Mitchell Bagot · 047c9494 · Feb 17, 2026 · 2 filesMessage 68 · AdequateInformational 15Details
Commit message · Mitchell Bagot

io: Replace gated no_std with blanket no_std

Most crates in the repo use no_std with an explicit extern crate std
gated behind a std feature. bitcoin and io do not, instead gating the
no_std behind the absence of a std feature. These should be made
uniform.

Replaced gated no_std with blanket no_std and gated extern std.
Fix imports for std types no longer implicitly available in no_std.

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

This is a routine internal cleanup in the Rust Bitcoin project. It changes how one small crate declares its relationship to the Rust standard library so that it matches the style used by other crates in the same repository. There is no security-relevant change here.

Lower-priorityp2p: Rename `Raw` prefix to `V1`by rustaceanrob · 8353c098 · Feb 16, 2026 · 3 filesMessage 45 · ThinInformational 15Details
Commit message · rustaceanrob

p2p: Rename `Raw` prefix to `V1`

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

This commit is a simple rename of types and identifiers in the Bitcoin peer-to-peer networking code. It changes names like RawNetworkMessage to V1NetworkMessage to better reflect that they implement the older Bitcoin v1 protocol, now that v2 protocol support exists. No behavior, logic, or security properties of the code are changed.

Lower-priorityChange pow_target_spacing to u32by Mitchell Bagot · 943a7863 · Feb 16, 2026 · 2 filesMessage 58 · ThinInformational 19Details
Commit message · Mitchell Bagot

Change pow_target_spacing to u32

The pow_target_spacing is only ever used as a divisor for the
pow_target_timespan (a u32 type) or cast to a u32. The loss of precision
from a u64 is acceptable for the simplicity of use that this change
provides.

Change pow_target_spacing to u32 from u64 in Params.

58/100 · ThinMessage clarity
✓ Descriptive subject✓ Provides detailed explanatory context
AI analysis · Informational 19/100

This commit changes a single timing parameter in the Bitcoin network rules code from a 64-bit integer to a 32-bit integer. The value represents the expected seconds between blocks. The change simplifies the code by removing casts, but it slightly reduces the maximum value that parameter can hold. For all real Bitcoin networks this is harmless because the value is small (600 seconds for Bitcoin mainnet, 120 in the example). There is no direct security fix or vulnerability being patched.

Security candidateRemove parity argument and return on add_tweak and tweak_add_checkby Mitchell Bagot · 7370bd7d · Feb 16, 2026 · 4 filesMessage 73 · AdequateInformational 17Details
Commit message · Mitchell Bagot

Remove parity argument and return on add_tweak and tweak_add_check

The tweak_add_check function currently takes a tweaked_parity argument
for the parity of the tweaked key to be checked. With the introduction
of the parity on XOnlyPublicKey, this parity can be derived directly
and doesn't need to be provided.

Similarly, the parity return from add_tweak can now be incorporated
into the XOnlyPublicKey return value, rather than as a second field
in a 2-tuple.

Remove tweaked_parity argument from tweak_add_check and return only
an XOnlyPublicKey from add_tweak.

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

This commit is a routine API cleanup in the rust-bitcoin library. It removes an extra 'parity' argument and return value from functions that tweak public keys for Taproot, because the parity information can now be stored directly inside the XOnlyPublicKey type. There is no indication this fixes a security bug; it is a design simplification that may require downstream code to update how it calls these functions.

Security candidateRemove parity argument and rename public_keyby Mitchell Bagot · 5724d3ec · Feb 16, 2026 · 2 filesMessage 68 · AdequateInformational 17Details
Commit message · Mitchell Bagot

Remove parity argument and rename public_key

The public_key function on XOnlyPublicKey doesn't follow the standard
API naming conventions for conversions. Further, with the introduction
of the parity field on the XOnlyPublicKey, it's no longer necessary
to provide the parity when calling.

Remove the parity argument in public_key function and rename to
to_public_key.

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 17/100

This commit is a routine API cleanup, not a security fix. It renames a method from `public_key` to `to_public_key` and removes a now-redundant `parity` argument because the parity information is already stored inside the x-only public key object. The code still produces the same public keys; callers just provide the parity in a different way. There is no indication this change fixes a vulnerability.

Security candidateReturn only XOnlyPublicKey from from_keypairby Mitchell Bagot · 7d11f9ba · Feb 16, 2026 · 5 filesMessage 68 · AdequateInformational 18Details
Commit message · Mitchell Bagot

Return only XOnlyPublicKey from from_keypair

The from_keypair function currently returns the XOnlyPublicKey and
associated parity as a 2-tuple. Since parity is now stored on the
XOnlyPublicKey, this can be simplified to an XOnlyPublicKey return
type.

Replace from_keypair return type with a plain XOnlyPublicKey.

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 18/100

This commit is a routine API cleanup in the rust-bitcoin library. It changes a function so it returns only the x-only public key, instead of a pair of the key plus its parity bit. The parity information is now stored inside the key object itself, so callers no longer need to handle it separately. There is no security vulnerability here.

Security candidateReturn parity from serialize in XOnlyPublicKeyby Mitchell Bagot · b23e5517 · Feb 16, 2026 · 7 filesMessage 80 · StrongInformational 17Details
Commit message · Mitchell Bagot

Return parity from serialize in XOnlyPublicKey

In order to have sufficient information to completely reconstruct an
XOnlyPublicKey, users now need to know the parity of the key. As such,
we should now return it alongside the raw key bytes from serialize.

Add parity return from serialize in XOnlyPublicKey.

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

This commit changes the public API of XOnlyPublicKey::serialize() so it now returns both the 32-byte x-only key and its parity bit, instead of just the bytes. All existing callers inside the crate are updated to take only the first element (the bytes) and ignore the parity where it isn't needed. This is a routine API design change to expose extra information for users who need to fully reconstruct a key; it does not fix a bug or close a security hole.

Security candidateChange new constructor to from_secpby Mitchell Bagot · 34744dae · Feb 16, 2026 · 1 fileMessage 68 · AdequateInformational 20Details
Commit message · Mitchell Bagot

Change new constructor to from_secp

The new constructor on XOnlyPublicKey is poorly named, as it merely
constructs an XOnlyPublic key by wrapping an inner type.

Rename XOnlyPublicKey::new to XOnlyPublicKey::from_secp

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

This commit simply renames a function from XOnlyPublicKey::new to XOnlyPublicKey::from_secp because the old name was misleading. The underlying behavior is unchanged. There is no security vulnerability or fix here.

Security candidateReplace serde derive with call-through implby Mitchell Bagot · 731cbacd · Feb 16, 2026 · 1 fileMessage 68 · AdequateLow 29Details
Commit message · Mitchell Bagot

Replace serde derive with call-through impl

The existing serde implementation for XOnlyPublicKey derives from the
implementation on the inner type. Once additional data is introduced,
like the parity, XOnlyPublicKey will no longer serialise or
deserialise correctly.

Replace serde derived implementations with manual implementations that
call through to inner type's serde implementations.

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

This commit changes how a Bitcoin public-key type is serialized and deserialized when the optional serde feature is enabled. The old code automatically used the inner key type's format, which would break if extra data (such as key parity) is added later. The new code explicitly forwards to the inner type, keeping the wire format stable even as the wrapper type evolves. It is a hardening/preventive change rather than a fix for an active vulnerability.

Security candidateIntroduce parity field on XOnlyPublicKeyby Mitchell Bagot · dcd361c4 · Feb 16, 2026 · 1 fileMessage 78 · AdequateInformational 15Details
Commit message · Mitchell Bagot

Introduce parity field on XOnlyPublicKey

As part of the overhaul of XOnlyPublicKey, the parity of the key will
need to be stored on the type. Since we want to retain the
encapsulation on the type, we also need a getter/setter for this new
field.

Introduce a parity field on the XOnlyPublicKey alongside getter and
setter functions. Adjust BIP-341 test json parsing to suit new
XOnlyPublicKey structure.

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

This is a routine internal code refactor in a Bitcoin cryptography library. It adds a 'parity' field (a mathematical property of cryptographic keys) to the XOnlyPublicKey type, along with getter and setter functions. There is no indication this change fixes or introduces a security vulnerability.