Output Descriptors (Bitcoin)
1 min read
Pronunciation
[out-put dih-skrip-torz]
Analogy
Like a blueprint specifying which safe deposit boxes belong to you.
Definition
A language (BIP-380) for describing sets of scriptPubKeys (addresses) in wallets, enabling precise key and script management.
Key Points Intro
Descriptors enhance wallet accuracy via:
Key Points
Formal syntax: Defines script type and key derivation.
Range support: For HD wallet address sequences.
Export/import: Share wallet structure across software.
Script combos: Supports multisig, P2SH, P2WSH.
Example
Descriptor `wpkh([f23a.../84h/0h/0h]xpub.../0/*)` describes all native SegWit receive addresses.
Technical Deep Dive
Parser reads descriptor, expands key expressions, derives pubkeys via xpub and index range, constructs scriptPubKey templates. Wallet tracks index usage and generates new addresses accordingly.
Security Warning
Incorrect descriptors can lead to missing funds; verify descriptor correctness before importing.
Caveat
Descriptor support is newer; legacy wallets may not import them.
Output Descriptors (Bitcoin) - Related Articles
No related articles for this term.