Skip to content
Satoshi Gazette
Wire · Markets

Craig Raw Proposes a BIP Defining a Canonical Form for Output Script Descriptors

Published · Block 978,347Source published

Craig Raw proposed a BIP defining a canonical form for output script descriptors, in a post to the Bitcoin Development Mailing List on 1 December. The proposal defines a deterministic textual encoding such that descriptors that differ only in how they are written produce the same string, and therefore the same checksum. Under it, hardened derivation is written with h, hexadecimal and Bech32 in lowercase, and the keys of sortedmulti(), sortedmulti_a() and musig() are sorted in ASCII order of their canonical text. The post says the canonical form does not change how descriptors are parsed or the scripts they produce, and that implementations must continue to accept descriptors in any valid form. The post says the canonical form is not intended as a wallet identifier, and asks for feedback.

Sources:gnusha.org

The Wire →