Bitcoin developer Craig Raw has proposed standardized formatting rules for wallet descriptors to reduce confusion during multisig wallet recovery. The proposal addresses an inconsistency where identical wallet instructions can produce different checksums, potentially raising questions about backup consistency.
The Problem
Wallet applications use output descriptors to store instructions for constructing Bitcoin addresses and determining spending rules. For multisig wallets, cosigners can compare these descriptors during recovery to verify their backups contain the same wallet instructions.
However, wallet software can write identical descriptors in different ways. Under BIP 380, descriptors carry an eight-character checksum to detect errors. The checksum calculation treats an apostrophe and the letter h differently, even though both represent the same key derivation step in wallet software. As a result, two valid descriptors can generate identical Bitcoin addresses and spending rules while carrying different checksums.
The Proposed Solution
Raw's proposal establishes common formatting rules that wallet applications could apply before displaying, exporting, or comparing descriptors. The standardized format would replace apostrophes with h and arrange key expressions in a consistent order.
In a test case provided by Raw, two descriptors for the same two-of-three multisig wallet initially produced different checksums: xmwawk45 and tj77jlvt. After applying the proposed normalization rules, both generated the same checksum, jecfc8v2, without changing the underlying Bitcoin scripts they produce.
Wallet applications adopting the proposal could compare normalized descriptors during recovery, eliminating formatting differences that might otherwise create uncertainty about backup consistency.
Limitations
Raw emphasizes that matching checksums alone would not establish that descriptors are identical, that cosigners control necessary private keys, or that backups contain everything required for fund recovery. The proposal also does not eliminate every difference between descriptors that produce equivalent scripts, such as when one specifies a public key directly while another derives the same key from an extended public key.
As of December 3, Raw's proposal remains an unnumbered draft. Implementation would depend on wallet developers adopting the formatting rules, while applications would continue accepting valid descriptors in existing formats.


