Infrastructure506 words3 min decode

Draft Bitcoin Standard Would Fix Descriptor Checksum Mismatch

A draft standard by Raw would normalize Bitcoin output descriptors so equivalent wallets share one checksum, using h over apostrophes and sorted key expressions to simplify recovery.

Draft Bitcoin Standard Would Fix Descriptor Checksum Mismatch
WitnessAI-generated

Outputs

  1. Proposal remains an unnumbered draft as of Dec. 3

  2. Test vectors: checksums xmwawk45 vs tj77jlvt for equivalent descriptors

  3. Normalized form produces shared checksum jecfc8v2

  4. Descriptors carry an eight-character checksum under BIP 380

  5. No consensus rule or underlying script is changed

A developer identified as Raw has proposed a normalization standard for Bitcoin output descriptors that would make two valid descriptors for the same wallet produce identical checksums, removing a formatting obstacle that currently complicates backup verification during recovery. As of Dec. 3, the proposal remains an unnumbered draft, and adoption depends entirely on wallet developers choosing to implement its formatting rules.

What does this change for wallet users?

Output descriptors are the machine-readable instructions that define how a wallet constructs addresses and spending conditions. A two-of-three multisig descriptor, for example, specifies three public keys, or instructions for deriving them, alongside a rule requiring any two corresponding signing keys to authorize a transaction. During recovery, cosigners compare their stored descriptors to confirm that each backup carries the same wallet instructions.

The comparison breaks down over formatting. Under BIP 380, descriptors carry an eight-character checksum computed from their text to catch transcription errors. Wallet software may write the same hardened derivation step using either an apostrophe or the letter h, but the checksum calculation treats those as different characters. Two descriptors can therefore generate identical Bitcoin addresses and spending rules while producing different checksums.

Raw's published test vectors make the problem concrete. Two descriptors for the same two-of-three multisig wallet produced different checksums: xmwawk45 for the version using apostrophes and tj77jlvt for the version using h. The descriptors also listed the same three key expressions in different orders. Despite those textual differences, both produced identical Bitcoin scripts, because the sortedmulti() construction sorts the derived public keys when generating each script.

How does the normalization work?

The proposal establishes common formatting rules that wallet applications would apply before displaying, exporting or comparing descriptors. It replaces apostrophes with the letter h and arranges normalized key expressions according to their text. Applied to Raw's test vectors, those rules produce identical descriptor strings sharing a single checksum, jecfc8v2. The process requires no key derivation and leaves the wallet's underlying scripts unchanged.

For practitioners, the operational consequence is straightforward: cosigners adopting wallets that implement the rules could compare normalized descriptors during recovery and dismiss formatting discrepancies as noise rather than evidence of a corrupted or divergent backup.

What the proposal does not do

Matching checksums alone would not establish that two descriptors are truly identical, that cosigners control the necessary private keys, or that a backup contains everything required to recover funds. The normalized format also does not eliminate every difference between descriptors that produce equivalent scripts. One descriptor could specify a public key directly, while another derives the same key from an extended public key, and both would remain distinct under the proposed rules.

Applications would continue accepting valid descriptors written in existing formats. The standard changes how software presents and compares descriptors, not what the network accepts, and no consensus rule is touched.

The next milestone for the proposal is a BIP number and uptake among wallet maintainers; until reference implementations ship, cosigners should still verify descriptor equivalence beyond the checksum alone.

via cryptonews.net (Source)

More from Nathan Brooks

Nathan Brooks

Show full bio

Market editor covering money, funding and market shifts around crypto and web3 industry at Mempool Brief.

2,281 articles