From 4c7d1292dd87c03bc3c71400d0e0aa7f05c52269 Mon Sep 17 00:00:00 2001 From: Maks Date: Tue, 17 Dec 2024 14:18:20 +0100 Subject: [PATCH] Fix typos in BIP-0370 and BIP-0373 (#1718) * Update bip-0370.mediawiki * Update bip-0373.mediawiki --- bip-0370.mediawiki | 2 +- bip-0373.mediawiki | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bip-0370.mediawiki b/bip-0370.mediawiki index 885dfc8cf3..d18a93d8d4 100644 --- a/bip-0370.mediawiki +++ b/bip-0370.mediawiki @@ -42,7 +42,7 @@ PSBT Version 2 (PSBTv2) only specifies new fields and field inclusion/exclusion PSBT_GLOBAL_UNSIGNED_TX must be excluded in PSBTv2. PSBT_GLOBAL_VERSION must be included in PSBTv2 and set to version number 2'''What happened to version number 1?''' Version number 1 is skipped because PSBT Version 0 has been colloquially referred to as version 1. Originally this BIP was to be -version 1, but because it has been colloquially referred to as version 2 during its design phrase, it was decided to change the +version 1, but because it has been colloquially referred to as version 2 during its design phase, it was decided to change the version number to 2 so that there would not be any confusion. The new global types for PSBT Version 2 are as follows: diff --git a/bip-0373.mediawiki b/bip-0373.mediawiki index c6f2b738e5..3d09943d0b 100644 --- a/bip-0373.mediawiki +++ b/bip-0373.mediawiki @@ -130,7 +130,7 @@ required for aggregation. If sorting was done, then the keys must be in the sort ===Updater=== When an updater observes a Taproot output which involves a MuSig2 aggregate public key that it is -aware if, it can add a PSBT_IN_MUSIG2_PARTICIPANT_PUBKEYS field containing the public keys +aware of, it can add a PSBT_IN_MUSIG2_PARTICIPANT_PUBKEYS field containing the public keys of the participants. This aggregate public key may be directly in the script, the Taproot internal key, the Taproot output key, or a public key from which the key in the script was derived from. @@ -171,7 +171,7 @@ partial signature for their key. The result will be added to the PSBT in a PSBT_IN_MUSIG2_PARTIAL_SIG field. Signers must remember to apply any relevant tweaks such as a tweak that is the result of performing -BIP 32 unhardened dervation with the aggregate public key as the parent key. +BIP 32 unhardened derivation with the aggregate public key as the parent key. If all other signers have provided a PSBT_IN_MUSIG2_PARTIAL_SIG, then the final signer may perform the PartialSigAgg algorithm and produce a BIP 340 compatible signature that can be