From 530b91d86bd125a8b3936d76215728468bfc10e7 Mon Sep 17 00:00:00 2001 From: Ava Chow Date: Thu, 5 Jun 2025 13:29:19 -0700 Subject: [PATCH] 390: Allow repeated participant pubkeys --- bip-0390.mediawiki | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bip-0390.mediawiki b/bip-0390.mediawiki index 185ea93a..dc055809 100644 --- a/bip-0390.mediawiki +++ b/bip-0390.mediawiki @@ -33,7 +33,7 @@ A new key expression is defined: musig(). The musig(KEY, KEY, ..., KEY) expression can only be used inside of a tr() expression as a key expression. It additionally cannot be nested within another musig() -expression. Repeated participant public keys are not allowed. The aggregate public key is produced +expression. Participant public keys may be repeated. The aggregate public key is produced by using the KeyAgg algorithm on all KEYs specified in the expression after performing all specified derivation. As with script expressions, KEY can contain child derivation specified by /*. A new aggregate public key will be computed for each child index. Keys must be sorted @@ -80,6 +80,8 @@ will have the 0th, 1st, and 2nd scripts listed. ** 512068983d461174afc90c26f3b2821d8a9ced9534586a756763b68371a404635cc8 ** 5120368e2d864115181bdc8bb5dc8684be8d0760d5c33315570d71a21afce4afd43e ** 512097a1e6270b33ad85744677418bae5f59ea9136027223bc6e282c47c167b471d5 +* tr(musig(xpub6ERApfZwUNrhLCkDtcHTcxd75RbzS1ed54G1LkBUHQVHQKqhMkhgbmJbZRkrgZw4koxb5JaHWkY4ALHY2grBGRjaDMzQLcgJvLJuZZvRcEL/1,xpub6ERApfZwUNrhLCkDtcHTcxd75RbzS1ed54G1LkBUHQVHQKqhMkhgbmJbZRkrgZw4koxb5JaHWkY4ALHY2grBGRjaDMzQLcgJvLJuZZvRcEL/1)/2) +** 5120a17ceacd6422bd5ffd9f165807b254b7d68ad39f179cc4f11545a6835227e97c Invalid descriptors