mirror of
https://github.com/bitcoin/bips.git
synced 2025-12-22 14:45:19 +00:00
bip-373: Fix GLOBAL_XPUB key name and clean up compressed vs x-only note (#2007)
* bip-373: Fix GLOBAL_XPUB key name and clean up compressed vs x-only note * add requires
This commit is contained in:
parent
7635df6fd3
commit
6ce21f4eae
@ -9,6 +9,7 @@
|
||||
Type: Standards Track
|
||||
Created: 2024-06-04
|
||||
License: CC0-1.0
|
||||
Requires: 32, 174, 327, 328, 370
|
||||
</pre>
|
||||
|
||||
==Introduction==
|
||||
@ -52,8 +53,7 @@ The new per-input types are defined as follows:
|
||||
| rowspan="2"| 0, 2
|
||||
|-
|
||||
| The MuSig2 aggregate public key (compressed) <ref>'''Why the compressed aggregate public key instead of x-only?'''
|
||||
[[bip-0032.mediawiki|BIP 32]] public keys can be derived from a [[bip-0327.mediawiki|BIP 327]] MuSig2 aggregate public key
|
||||
(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]]).
|
||||
[[bip-0032.mediawiki|BIP 32]] public keys can be derived from a [[bip-0327.mediawiki|BIP 327]] MuSig2 aggregate public key (see: [[bip-0328.mediawiki|BIP 328]]).
|
||||
But since BIP 32 requires public keys to include their evenness byte, BIP 327 MuSig2 aggregate public keys must
|
||||
include their evenness byte as well. Furthermore, PSBT_IN_TAP_BIP32_DERIVATION fields include fingerprints to identify
|
||||
master keys, and these fingerprints require the y-coordinate of the public key, so x-only serialization can't be used.
|
||||
@ -143,7 +143,7 @@ that public key should contain the aggregate public key rather than the found pu
|
||||
updater should also add <tt>PSBT_IN_TAP_BIP32_DERIVATION</tt> that contains the derivation path used
|
||||
to derive the found pubkey from the aggregate pubkey.
|
||||
Derivation from the aggregate pubkey can be assumed to follow [[bip-0328.mediawiki|BIP 328]]
|
||||
if there is no <tt>PSBT_IN_GLOBAL_XPUB</tt> that specifies the synthetic xpub for the aggregate
|
||||
if there is no <tt>PSBT_GLOBAL_XPUB</tt> that specifies the synthetic xpub for the aggregate
|
||||
public key.
|
||||
|
||||
Updaters should add <tt>PSBT_OUT_MUSIG2_PARTICIPANT_PUBKEYS</tt> and
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user