Closed yeastplume closed 1 year ago
relevant keybase conversation starts here: keybase://chat/grincoin.teams.node_dev#general/8880
This is ready for review now. Note that I opted to have a single function that returns whether the caller needs to check the second value to verify. This works well with the rust side, which can just return an tuple containing a result and an optional second possible result only if needed.
WIP - Due to ambiguity around nonce y-coordinates, the current version returns two separate possible signatures in some cases (both of which much be tried for the purposes of payment proofs.
Debugging output left in for the moment, to run this test only you may want to comment or def out everything in
src/tests.c
other thanrun_aggsig_tests()