mirror of
https://github.com/bitcoin/bips.git
synced 2026-10-19 19:29:18 +00:00
bip138: clarify MuSig participant eligibility
MuSig aggregation hides participant keys, so account xpubs do not need individual trailing derivation. Specify that encryption uses participant roots rather than the aggregate key. Add MuSig2 test vectors: one for a bare aggregate and one for aggregate derivation.
This commit is contained in:
1 parent
5fc05e2b17
commit
11a3be7458
2 files changed
+35
-8
No files matched your search
@@ -71,5 +71,25 @@
|
||||
"pk(04ebd252ca0877aae09b9d058219682775aa3cbcd049c12f07832f2cf6a3b517089e956909c4c07e8529f45f3ff8904d28df5a181619e21bdf748a896322530039)"
|
||||
],
|
||||
"expected_keys": null
|
||||
},
|
||||
{
|
||||
"description": "Bare MuSig participant xpubs",
|
||||
"descriptors": [
|
||||
"tr(musig(tpubDEPBvXvhta3pjVaKokqC3eeMQnszj9ehFaA2zD5nSdkaccwGAizu8jVB2NeSpvmP2P52MBoZvNCixqXRJnTyXx51FQzARR63tjxQSyP3Btw,tpubDC5FSnBiZDMmhiuCmWAYsLwgLYrrT9rAqvTySfuCCrgsWz8wxMXUS9Tb9iVMvcRbvFcAHGkMD5Kx8koh4GquNGNTfohfk7pgjhaPCdXpoba))"
|
||||
],
|
||||
"expected_keys": [
|
||||
"8b42cd4776376c82791b494155151f56c2d7b471e0c7a526a7ce60dd872e3867",
|
||||
"ebd252ca0877aae09b9d058219682775aa3cbcd049c12f07832f2cf6a3b51708"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Derivation after MuSig aggregation",
|
||||
"descriptors": [
|
||||
"tr(musig(tpubDEPBvXvhta3pjVaKokqC3eeMQnszj9ehFaA2zD5nSdkaccwGAizu8jVB2NeSpvmP2P52MBoZvNCixqXRJnTyXx51FQzARR63tjxQSyP3Btw,tpubDC5FSnBiZDMmhiuCmWAYsLwgLYrrT9rAqvTySfuCCrgsWz8wxMXUS9Tb9iVMvcRbvFcAHGkMD5Kx8koh4GquNGNTfohfk7pgjhaPCdXpoba)/<0;1>/*)"
|
||||
],
|
||||
"expected_keys": [
|
||||
"8b42cd4776376c82791b494155151f56c2d7b471e0c7a526a7ce60dd872e3867",
|
||||
"ebd252ca0877aae09b9d058219682775aa3cbcd049c12f07832f2cf6a3b51708"
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in new issue
Block a user