BIP459: Add FullAgg (DahLIAS) module - #1754
Conversation
d962f9b to
13a34e4
Compare
|
Concept ACK |
ab6fdeb to
0c403c9
Compare
|
The last commit here now is implementing the code sharing between the musig and the fullagg model. That is one of the first questions I have when reviewers will take a closer look here: Do we want to do it this way? And do we event want to do this at all? I think it's pretty good but also the amount of LOC saving has been a bit underwhelming at the end. A second thing that I changed and that I would be interested in high-level feedback on: I realized that the fullagg module really doesn't need any of the Schnorr module code, it just depends on extrakeys. I fixed this in the config where I still had the schnorr module as dependency of the fullagg module. However, in practical terms they will likely always be active together and it's also a bit awkward that I still have the module named |
The naming of these functions suggested they should be moved to group.h but this didn't seem practical since these functions depended on eckey.h internally which is higher level than group.h.
|
The latest push is a rebase but also does a bunch of renaming and rewording in response to the naming discussion in the BIP, e.g. dropping the "FullAgg of Schnorr signatures" framing. |
|
Split out the first commit which is a pure refactor: #1915 |
This PR adds a FullAgg module implementing full aggregation of BIP 340 signatures using the interactive aggregate signature scheme (DahLIAS).
The implementation follows the BIP459.