Skip to content

Commit fd19556

Browse files
bip373: add hyperlinks to other BIPs (#1886)
Co-authored-by: Mark "Murch" Erhardt <[email protected]>
1 parent 36618d1 commit fd19556

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

bip-0373.mediawiki

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

1616
===Abstract===
1717

18-
This document proposes additional fields for BIP 174 PSBTv0 and BIP 370 PSBTv2 that allow for BIP
19-
327 MuSig2 Multi-Signature data to be included in a PSBT of any version. These will be fields for
18+
This document proposes additional fields for [[bip-0174.mediawiki|BIP 174]] PSBTv0 and [[bip-0370.mediawiki|BIP 370]] PSBTv2 that allow for
19+
[[bip-0327.mediawiki|BIP 327]] MuSig2 Multi-Signature data to be included in a PSBT of any version. These will be fields for
2020
the participants' keys, the public nonces, and the partial signatures produced with MuSig2.
2121

2222
===Copyright===
@@ -25,7 +25,7 @@ This BIP is licensed under the Creative Commons CC0 1.0 Universal license.
2525

2626
===Motivation===
2727

28-
BIP 327 specifies a way to create BIP 340 compatible public keys and signatures using the MuSig2
28+
[[bip-0327.mediawiki|BIP 327]] specifies a way to create [[bip-0340.mediawiki|BIP 340]] compatible public keys and signatures using the MuSig2
2929
Multi-Signature scheme. The existing PSBT fields are unable to support MuSig2 as it introduces new
3030
concepts and additional rounds of communication. Therefore new fields must be defined to allow PSBTs
3131
to carry the information necessary to produce a valid signature with MuSig2.
@@ -52,7 +52,8 @@ The new per-input types are defined as follows:
5252
| rowspan="2"| 0, 2
5353
|-
5454
| The MuSig2 aggregate public key (compressed) <ref>'''Why the compressed aggregate public key instead of x-only?'''
55-
BIP 32 public keys can be derived from a BIP 327 MuSig2 aggregate public key (see: [[bip-0328.mediawiki|BIP 328]]).
55+
[[bip-0032.mediawiki|BIP 32]] public keys can be derived from a [[bip-0327.mediawiki|BIP 327]] MuSig2 aggregate public key
56+
(see: [[bip-0328.mediawiki|BIP 328]]).But since BIP 32 requires public keys to include their evenness byte, [[bip-0327.mediawiki|BIP 327]] MuSig2 aggregate public key (see: [[bip-0328.mediawiki|BIP 328]]).
5657
But since BIP 32 requires public keys to include their evenness byte, BIP 327 MuSig2 aggregate public keys must
5758
include their evenness byte as well. Furthermore, PSBT_IN_TAP_BIP32_DERIVATION fields include fingerprints to identify
5859
master keys, and these fingerprints require the y-coordinate of the public key, so x-only serialization can't be used.
@@ -74,7 +75,7 @@ required for aggregation. If sorting was done, then the keys must be in the sort
7475
| rowspan="2"| 0, 2
7576
|-
7677
| The compressed public key of the participant providing this nonce, followed by the compressed aggregate public
77-
key the participant is providing the nonce for, followed by the BIP 341 tapleaf hash of
78+
key the participant is providing the nonce for, followed by the [[bip-0341.mediawiki|BIP 341]] tapleaf hash of
7879
the Taproot leaf script that will be signed. If the aggregate key is the Taproot internal key or the
7980
Taproot output key, then the tapleaf hash must be omitted. The compressed participant public key must be
8081
the Taproot output key or found in a script. It is not the internal key nor the aggregate public key that
@@ -90,7 +91,7 @@ it was derived from, if it was derived from an aggregate key.
9091
| rowspan="2"| 0, 2
9192
|-
9293
| The compressed public key of the participant providing this partial signature, followed by the
93-
compressed public key the participant is providing the signature for, followed by the BIP 341 tapleaf hash
94+
compressed public key the participant is providing the signature for, followed by the [[bip-0341.mediawiki|BIP 341]] tapleaf hash
9495
of the Taproot leaf script that will be signed. If the aggregate key is the Taproot internal key or
9596
the Taproot output key, then the tapleaf hash must be omitted. Note that the compressed participant public key must be
9697
the Taproot output key or found in a script. It is not the internal key nor the aggregate public key that
@@ -162,7 +163,7 @@ to produce a signature for, if the signer does not find an existing
162163
the <tt>NonceGen</tt> algorithm (or one of its variations) to produce a public
163164
nonce that is added in a <tt>PSBT_IN_MUSIG2_PUB_NONCE</tt> field. However
164165
signers must keep in mind that '''improper nonce usage can compromise private
165-
keys.''' Please see BIP 327 for best practices on nonce generation and usage.
166+
keys.''' Please see [[bip-0327.mediawiki|BIP 327]] for best practices on nonce generation and usage.
166167

167168
Once all signers have added their <tt>PSBT_IN_MUSIG2_PUB_NONCE</tt> fields, each signer will perform
168169
the <tt>NonceAgg</tt> algorithm followed by the <tt>Sign</tt> algorithm in order to produce the
@@ -173,15 +174,15 @@ Signers must remember to apply any relevant tweaks such as a tweak that is the r
173174
BIP 32 unhardened derivation with the aggregate public key as the parent key.
174175

175176
If all other signers have provided a <tt>PSBT_IN_MUSIG2_PARTIAL_SIG</tt>, then the final signer may
176-
perform the <tt>PartialSigAgg</tt> algorithm and produce a BIP 340 compatible signature that can be
177+
perform the <tt>PartialSigAgg</tt> algorithm and produce a [[bip-0340.mediawiki|BIP 340]] compatible signature that can be
177178
placed into a <tt>PSBT_IN_TAP_KEY_SIG</tt> or a <tt>PSBT_IN_TAP_SCRIPT_SIG</tt>.
178179

179180
===Finalizer===
180181

181182
A finalizer may perform the same <tt>PartialSigAgg</tt> step as the final signer if it has not
182183
already been done.
183184

184-
Otherwise, the resulting signature is a BIP 340 compatible signature and finalizers should treat it
185+
Otherwise, the resulting signature is a [[bip-0340.mediawiki|BIP 340]] compatible signature and finalizers should treat it
185186
as such.
186187

187188
==Backwards Compatibility==

0 commit comments

Comments
 (0)