diff --git a/bip-0174.mediawiki b/bip-0174.mediawiki index 275ce638..ad9c7a15 100644 --- a/bip-0174.mediawiki +++ b/bip-0174.mediawiki @@ -507,11 +507,11 @@ The currently defined per-input types are defined as follows: |- | MuSig2 Participant Public Keys | PSBT_IN_MUSIG2_PARTICIPANT_PUBKEYS = 0x1a -| <33 byte plain aggregate pubkey> -| The MuSig2 aggregate plain public key from the KeyAgg algorithm. This key may or may not +| <33 byte aggregate pubkey (compressed)> +| The MuSig2 aggregate public key (compressed) from the KeyAgg algorithm. This key may or may not be in the script directly (as x-only). It may instead be a parent public key from which the public keys in the script were derived. -| <33 byte compressed pubkey>* +| <33 byte participant pubkey (compressed)>* | A list of the compressed public keys of the participants in the MuSig2 aggregate key in the order required for aggregation. If sorting was done, then the keys must be in the sorted order. | @@ -521,11 +521,11 @@ required for aggregation. If sorting was done, then the keys must be in the sort |- | MuSig2 Public Nonce | PSBT_IN_MUSIG2_PUB_NONCE = 0x1b -| <33 byte compressed pubkey> <33 byte plain pubkey> <32 byte hash or omitted> -| The compressed public key of the participant providing this nonce, followed by the plain public +| <33 byte participant pubkey (compressed)> <33 byte aggregate pubkey (compressed)> <32 byte hash or omitted> +| The compressed public key of the participant providing this nonce, followed by the compressed aggregate public key the participant is providing the nonce for, followed by the BIP 341 tapleaf hash of the Taproot leaf script that will be signed. If the aggregate key is the taproot internal key or the -taproot output key, then the tapleaf hash must be omitted. The plain public key must be +taproot output key, then the tapleaf hash must be omitted. The compressed participant public key must be the key found in the script and not the aggregate public key that it was derived from, if it was derived from an aggregate key. | <66 byte public nonce> @@ -537,11 +537,11 @@ derived from an aggregate key. |- | MuSig2 Participant Partial Signature | PSBT_IN_MUSIG2_PARTIAL_SIG = 0x1c -| <33 byte compressed pubkey> <33 byte plain pubkey> <32 byte hash or omitted> +| <33 byte participant pubkey (compressed)> <33 byte aggregate pubkey (compressed)> <32 byte hash or omitted> | The compressed public key of the participant providing this partial signature, followed by the -plain public key the participant is providing the signature for, followed by the BIP 341 tapleaf hash -of the Taproot leaf script that will be signed. If the aggregate key is the taproot internal key or -the taproot output key, then the tapleaf hash must be omitted. Note that the plain public key must +compressed public key the participant is providing the signature for, followed by the BIP 341 tapleaf hash +of the Taproot leaf script that will be signed. If the aggregate key is the Taproot internal key or +the Taproot output key, then the tapleaf hash must be omitted. Note that the compressed participant public key must be be the key found in the script and not the aggregate public key that it was derived from, if it was derived from an aggregate key. | <32 byte partial signature> @@ -691,11 +691,11 @@ determine which outputs are change outputs and verify that the change is returni |- | MuSig2 Participant Public Keys | PSBT_OUT_MUSIG2_PARTICIPANT_PUBKEYS = 0x08 -| <33 byte plain aggregate pubkey> -| The MuSig2 aggregate plain public key from the KeyAgg algorithm. This key may or may not +| <33 byte aggregate pubkey (compressed)> +| The MuSig2 compressed aggregate public key from the KeyAgg algorithm. This key may or may not be in the script directly. It may instead be a parent public key from which the public keys in the script were derived. -| <33 byte compressed pubkey>* +| <33 byte participant pubkey (compressed)>* | A list of the compressed public keys of the participants in the MuSig2 aggregate key in the order required for aggregation. If sorting was done, then the keys must be in the sorted order. |