slingshot icon indicating copy to clipboard operation
slingshot copied to clipboard

musig: integration with Predicate Tree

Open oleganza opened this issue 5 years ago • 0 comments

Currently Predicate::Key wraps a VerificationKey, so all information about the signing parties is erased.

Let's replace it with Multikey, so that we can preserve information for signing.

  • [ ] Use Multikey instead of VerificationKey in the Predicate::Key variant.
  • [ ] Make VerificationKey convertible Into<Multikey>
  • [x] Make sure Multikey over a single key uses 1 as a delinearization factor (a_0), not a random one. This is needed for compatibility with raw VerificationKey.

oleganza avatar Mar 21 '19 18:03 oleganza