Bitcoin developer proposes standard backup format to make multisig wallet recovery less confusing
Wallet backups that look different but mean the same thing
Bitcoin developer Craig Raw has proposed a standardized backup format that would make it easier to check and recover wallets secured by multiple signing keys. He shared the idea in a Dec. 1 post to the Bitcoin Development Mailing List.
The problem he identified is not with the Bitcoin network itself. It sits in the wallet software. Two backups can hold exactly the same wallet instructions yet appear different when a user tries to restore them, which creates doubt about whether the backup is correct.
A wallet descriptor is a piece of text that tells wallet software how to build Bitcoin addresses and under what conditions funds can be spent. In a two-of-three multisig wallet, a setup that needs any two of three keys to approve a transaction, the descriptor lists the keys or instructions for deriving them, plus the spending rule.
Why identical wallets can carry different checksums
Under BIP 380, the existing specification for descriptors, each descriptor carries an eight-character checksum. A checksum is a short code calculated from the text to help catch typing errors.
The issue is that wallet apps can write the same key derivation step in two ways: with an apostrophe or with the letter h. The checksum calculation treats these as different characters. So two valid descriptors can produce the same Bitcoin addresses and the same spending rules while showing different checksums.
When people who share a multisig wallet compare their backups during recovery, these formatting differences can make matching copies look mismatched.
Key points from the proposal
- Craig Raw proposes common formatting rules that wallet apps would apply before displaying, exporting, or comparing descriptors.
- In his test example, one descriptor used apostrophes and produced the checksum xmwawk45; the other used the letter h and produced tj77jlvt.
- Both versions produced identical Bitcoin scripts, because the sortedmulti() construction sorts the derived public keys when building each script.
- Applying Raw's proposed rules gives both strings the same text and a shared checksum of jecfc8v2.
- The change requires no key derivation and no change to the wallet's underlying scripts, and no Bitcoin protocol upgrade.
What the test example shows
Raw published test vectors, which are worked examples used to show how a standard behaves. His two-of-three multisig example listed the same three key expressions in two different orders, with one version using apostrophes and the other using h. The proposed format replaces apostrophes with h and arranges the key expressions by their text. After that, both copies match exactly and share the checksum jecfc8v2.
The comparison covers descriptor text only. It does not establish signing-key control, backup completeness, or equivalence between structurally different descriptors.
What is confirmed and what is not
Confirmed from the published material: the inconsistency exists, Raw posted about it on Dec. 1, and his draft and test vectors demonstrate the fix for the examples given.
It is also worth noting the limits stated in the material itself. Matching checksums alone cannot guarantee a successful wallet recovery. The proposal removes certain formatting differences; it does not solve every recovery problem.
Why this matters for multisig users
Multisig wallets spread control across several keys, and the people holding those keys often keep separate backups. If those backups look different on paper even when they are functionally the same, users may wrongly suspect an error during recovery. A shared format would let cosigners compare backups with more confidence, without needing any change to Bitcoin's network rules.