1
0
mirror of https://github.com/bitcoin/bips.git synced 2025-12-22 14:45:19 +00:00

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

This commit is contained in:
yyhrnk 2025-12-08 18:14:55 +02:00 committed by GitHub
parent 9a30c28574
commit 7e8facb479
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,8 +35,8 @@ and [[bip-0389.mediawiki|BIP-389]].
===<tt>musig(KEY, KEY, ..., KEY)</tt>===
The <tt>musig(KEY, KEY, ..., KEY)</tt> expression can only be used inside of a <tt>tr()</tt>
expression as a key expression. It additionally cannot be nested within another <tt>musig()</tt>
The <tt>musig(KEY, KEY, ..., KEY)</tt> expression can only be used inside of a <tt>tr()</tt> or
<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
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