-
Notifications
You must be signed in to change notification settings - Fork 49
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
Monero: add more legacy verify functions #383
Conversation
no-std CI failure is legitimate, processor/coordinator/full-stack aren't (they're some Docker connectivity issue). I've re-run them. |
I appreciate 46f4370, yet if you want to make further RPC changes, I'd appreciate it on a distinct PR. By the way, one of the biggest changes we can make for performance will be moving to |
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 was a partial review I did weeks ago, sorry for the delay. I figured I may as well comment it now since I'm still rather occupied, sorry again. Mainly minor commentary :)
I have added this type for borromen sigs, the ee field can be a normal scalar as in the verify function the ee field is checked against a reduced scalar mean for it to verify as correct ee must be reduced
this matches Monero I have also changed a couple varint functions to accept the `VarInt` trait
I still need to revert the commit removing support for >1 input MLSAG FULL This adds a new rct type to separate Full and simple rct
also added `#[allow(clippy::needless_range_loop)]` around a loop as without a re-write satisfying clippy without it will make the function worse.
plus other misc changes
This function was causing me problems, every now and then a node would return a block with a different number than requested.
Monero calculates the POW hash and the block hash using *slightly* different blobs :/
Will merge once CI passes 👍 Thanks for the effort :) |
Fixes #367
UnreducedScalar
type which has a method for recovering scalars which underwent an incorrect reduction