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

units: remove Denomination::MicroBitcoin

Public commit record

What the developer wrote

Authored by satsfy (Renato Britto)

58/100 · Thin
units: remove Denomination::MicroBitcoin

uBTC and micro sign forms no longer parse. Bit and
MicroBitcoin are the same 100 sat unit. Two variants of
equal magnitude block a derived Ord and make Eq misleading.

Bits is the name in use by other projects and docs. For
example, BIP 176 names it the standard term for 100 sat,
Core relabelled micro BTC to bits in 2017 and Electrum
offers BTC, mBTC, bits, sat. No wallet prints uBTC. So bits
is the "consensus" name for the unit.
✓ Descriptive subject✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit removes support for the old 'microbitcoin' unit (uBTC/µBTC) from the Rust Bitcoin library and tells users to use 'bits' instead, since both mean the same 100-satoshi unit. It is a deliberate API cleanup, not a security fix. The change could break applications that still parse or display uBTC strings, but it does not create a vulnerability.

Recommended action

Treat as a normal breaking-change review. If you depend on rust-bitcoin's amount parsing, verify that no code or data still uses uBTC/µBTC strings; replace them with 'bits'. No security patch or incident response is indicated.

Security signals we found

01

No security-relevant code change: purely a denomination naming/API cleanup.

02

Breaking change: previously accepted input strings (uBTC/µBTC forms) now fail to parse.

03

Error message now explicitly guides users to the 'bits' replacement.

04

No memory safety, cryptographic, or authorization changes observed.

Risk score

Why this scored 21/100

Our methodology →
Potential impact 2/30
Exploitability 1/25
Stealth signal 1/15
Affected reach 3/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.