BIP-390: allow musig() under rawtr()

This commit is contained in:
yyhrnk authored and GitHub committed 2025-12-08 18:14:55 +02:00
1 parent 9a30c28574
commit 7e8facb479
1 file changed
+2 -2
+2 -2
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