New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Aggsig Transactions #530
[WIP] Aggsig Transactions #530
Conversation
…er the contents of e
Updated with progress and more detailed tasks. |
Codecov Report
@@ Coverage Diff @@
## master #530 +/- ##
=======================================
Coverage ? 0%
=======================================
Files ? 33
Lines ? 2922
Branches ? 0
=======================================
Hits ? 0
Misses ? 2922
Partials ? 0
Continue to review full report at Codecov.
|
…the whole thing, completed interaction as far as inital response from recipient
Update: This works end-to-end now, and (as advertised) produces transaction signatures without either party revealing their blinding factor (and with non-repudiation for either party). Not complete yet, as I haven't looked at fixing up any tests that were run as a result, and there are a couple more features to add and cleanup to do. Particularly, I still need to ensure that there are multiple aggsig contexts allowed to support multiple transactions hitting the same wallet at once, and also decide when/how the receiver should decide a transaction isn't going to complete and remove the output from their wallet. But given this is still a first pass, these things can be tweaked/changed as we go along. @antiochp @ignopeverell Probably in the state where you can start having a look/commenting on the changes (as and when you have time/inclination) |
Tests passing and ready to merge, if no objections. I'm going to open up separate issues for the tasks remaining, as I'd like to get all of the up to now changes merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great.
Liking how generic the various tx building steps are during wallet interaction.
Preparing myself mentally for the merge conflicts in #215 after we merge this 😬
👍
See #399 for context
https://github.com/mimblewimble/rust-secp256k1-zkp/blob/master/src/aggsig.rs for latest state of rust aggsig API (still very subject to change)
Note that stdout transactions are gone (as we don't have a strategy to handle them now that this is an exchange instead of a single send)
Also, I've added an optional config parameter to turn off waiting for peers on startup (which was slowing down automated testing immensely)