1
0
mirror of https://github.com/bitcoin/bips.git synced 2025-06-30 12:42:43 +00:00

388: fix incorrect example

As per the test vectors, musig key expressions require the aggregation step
to precede the change/address_index derivations.
This commit is contained in:
Salvatore Ingala 2025-06-21 12:03:15 +02:00
parent e22eaa5a52
commit dadbbc6de4
No known key found for this signature in database
GPG Key ID: 74060FF81B33E4F8

View File

@ -242,7 +242,7 @@ Common single-signature account patterns:
Common multisig schemes:
* <tt>wsh(multi(2,@0/**,@1/**))</tt> - SegWit 2-of-2 multisig, keys in order.
* <tt>sh(sortedmulti(2,@0/**,@1/**,@2/**))</tt> - Legacy 2-of-3 multisig, sorted keys.
* <tt>tr(musig(@0/**,@1/**))</tt> - MuSig2 2-of-2 in the taproot keypath
* <tt>tr(musig(@0,@1)/**)</tt> - MuSig2 2-of-2 in the taproot keypath
Some miniscript policies in <tt>wsh</tt>:
* <tt>wsh(and_v(v:pk(@0/**),or_d(pk(@1/**),older(12960))))</tt> - Trust-minimized second factor, degrading to a single signature after about 90 days.