1
0
mirror of https://github.com/bitcoin/bips.git synced 2026-05-11 16:51:51 +00:00

Merge pull request #2050 from yyhrnk/fix/bip390-musig-rawtr-usage

BIP-390: allow musig() under rawtr()
This commit is contained in:
Mark "Murch" Erhardt
2025-12-08 11:10:44 -08:00
committed by GitHub

View File

@@ -35,8 +35,8 @@ and [[bip-0389.mediawiki|BIP-389]].
===<tt>musig(KEY, KEY, ..., KEY)</tt>=== ===<tt>musig(KEY, KEY, ..., KEY)</tt>===
The <tt>musig(KEY, KEY, ..., KEY)</tt> expression can only be used inside of a <tt>tr()</tt> The <tt>musig(KEY, KEY, ..., KEY)</tt> expression can only be used inside of a <tt>tr()</tt> or
expression as a key expression. It additionally cannot be nested within another <tt>musig()</tt> <tt>rawtr()</tt> expression as a key expression. It additionally cannot be nested within another <tt>musig()</tt>
expression. Participant public keys may be repeated. The aggregate public key is produced expression. Participant public keys may be repeated. The aggregate public key is produced
by using the <tt>KeyAgg</tt> algorithm on all KEYs specified in the expression after performing all by using the <tt>KeyAgg</tt> algorithm on all KEYs specified in the expression after performing all
specified derivation. As with script expressions, KEY can contain child derivation specified by specified derivation. As with script expressions, KEY can contain child derivation specified by