Bitcoin draft aims to reduce wallet backup confusion
Bitcoin developer Craig Raw proposed standardized wallet descriptors to reduce inconsistencies in multisig backup recovery without changing Bitcoin’s protocol rules.
Bitcoin developer Craig Raw has proposed standardized wallet descriptors to simplify the verification and recovery of multisignature, or multisig, wallets. The proposal would set common formatting rules for instructions that wallet software uses to create addresses and authorize spending.
Raw presented the proposal in a Dec. 1 post to the Bitcoin Development Mailing List. It addresses differences in how wallet applications write output descriptors, which can make equivalent backups appear inconsistent during recovery.
Descriptors contain instructions for constructing Bitcoin addresses and defining spending rules. In a two-of-three multisig wallet, a descriptor can identify three public keys and require any two matching private keys to approve a transaction.
Cosigners can compare descriptors to check whether their backups contain the same wallet instructions. Bitcoin descriptor checksums can differ, however, even when two descriptors produce the same addresses and spending rules.
BIP 380 assigns an eight-character checksum to descriptor text. The checksum treats an apostrophe and the letter “h” as different characters, although wallet software can use both to represent the same key-derivation step. The order of key expressions can also differ in descriptors that produce the same scripts.
In test vectors published with the draft, two descriptors for the same two-of-three multisig wallet produced the checksums “xmwawk45” and “tj77jlvt.” The descriptors used different notation and listed the same key expressions in different orders. Their sortedmulti() construction sorted the derived public keys in the same way, producing identical Bitcoin scripts.
Raw’s proposed format would replace apostrophes with “h” and arrange normalized key expressions according to their text. Applying those rules to the test descriptors produced the same normalized string and the checksum “jecfc8v2.” The process would not change the wallet’s scripts or require key derivation.
Wallet applications that adopt the format could normalize descriptors before displaying, exporting or comparing them. The format would remove differences in notation and ordering from those comparisons.
A matching checksum would not prove that two descriptors are equivalent in every respect. It would not confirm that cosigners control the required private keys or that a backup contains all information needed to recover funds. It would not resolve every case in which different descriptors produce equivalent scripts. One descriptor, for example, could list a public key directly while another derives the same key from an extended public key.
On Dec. 3, the proposal remained an unnumbered draft. Adoption would depend on wallet developers implementing the formatting rules. Existing applications could continue accepting valid descriptors written in current formats.








