AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Informational 19 Bitcoin

primitives: Remove BlockTime decoder from root export

Public commit record

What the developer wrote

Authored by Mitchell Bagot

73/100 · Adequate
primitives: Remove BlockTime decoder from root export

Encoder/decoder types are not typically exported outside of the module
they are defined in. The BlockTimeDecoder (and associated error) are.

Remove BlockTimeDecoder and BlockTimeDecoderError from root level
re-export in primitives.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit is a routine cleanup of the public API surface. It stops two internal helper types (BlockTimeDecoder and BlockTimeDecoderError) from being exported at the top level of the primitives crate. The types are still available inside the crate where they are actually used. There is no security fix here and no indication of a vulnerability.

Recommended action

No security action needed. Treat as a normal semver-aware API change; downstream users relying on bitcoin_primitives::BlockTimeDecoder should switch to bitcoin_primitives::time::BlockTimeDecoder.

Security signals we found

No strong security signals were identified.

Risk score

Why this scored 19/100

Our methodology →
Potential impact 0/30
Exploitability 0/25
Stealth signal 0/15
Affected reach 5/15
Confidence 9/10
Evidence quality 5/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.