mirror of
https://github.com/bitcoin/bips.git
synced 2025-03-17 21:32:50 +01:00
Explicitly forbid repeated key indexes in musig()
This commit is contained in:
parent
e103ddeb1e
commit
a4d9938ed2
@ -198,6 +198,8 @@ The public keys obtained by deserializing elements of the key information vector
|
||||
|
||||
If two <tt>KEY</tt> are <tt>KP/<M;N>/*</tt> and <tt>KP/<P;Q>/*</tt> for the same key placeholder <tt>KP</tt>, then the sets <tt>{M, N}</tt> and <tt>{P, Q}</tt> must be disjoint. Two <tt>musig</tt> key placeholders are the same if they have exactly the same set of key indexes (regardless of the order).
|
||||
|
||||
Repeated <tt>KI</tt> expressions are not allowed inside a <tt>musig</tt> placeholder.
|
||||
|
||||
The key information vector should be ordered so that placeholder <tt>@i</tt> never appears for the first time before an occurrence of <tt>@j</tt> for some <tt>j < i</tt>; for example, the first placeholder is always <tt>@0</tt>, the next one is <tt>@1</tt>, etc.
|
||||
|
||||
=== Descriptor derivation ===
|
||||
|
Loading…
x
Reference in New Issue
Block a user