This website requires JavaScript.
Explore
Help
Sign In
absolutebi
/
serai
Watch
1
Star
0
Fork
0
You've already forked serai
mirror of
https://github.com/serai-dex/serai.git
synced
2025-12-10 13:09:24 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
01a2c98018167cebc09b3f44412bae73a65ce007
serai
/
coins
/
monero
/
src
/
tests
/
mod.rs
6 lines
74 B
Rust
Raw
Normal View
History
Unescape
Escape
Monero: add more legacy verify functions (#383) * Add v1 ring sig verifying * allow calculating signature hash for v1 txs * add unreduced scalar type with recovery 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 * change block major/ minor versions to u8 this matches Monero I have also changed a couple varint functions to accept the `VarInt` trait * expose `serialize_hashable` on `Block` * add back MLSAG verifying functions 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 * add back support for multiple inputs for RCT FULL * comment `non_adjacent_form` function also added `#[allow(clippy::needless_range_loop)]` around a loop as without a re-write satisfying clippy without it will make the function worse. * Improve Mlsag verifying API * fix rebase errors * revert the changes on `reserialize_chain` plus other misc changes * fix no-std * Reduce the amount of rpc calls needed for `get_block_by_number`. This function was causing me problems, every now and then a node would return a block with a different number than requested. * change `serialize_hashable` to give the POW hashing blob. Monero calculates the POW hash and the block hash using *slightly* different blobs :/ * make ring_signatures public and add length check when verifying. * Misc improvements and bug fixes --------- Co-authored-by: Luke Parker <lukeparker5132@gmail.com>
2023-11-12 15:18:18 +00:00
mod
unreduced_scalar
;
Remove monero-rs types Still missing an updated RPC file. Restructures the library as it makes sense
2022-05-21 15:33:35 -04:00
mod
clsag
;
BP Verification (#75) * Use a struct in an enum for Bulletproofs * verification bp working for just one proof * add some more assert tests * Clean BP verification * Implement batch verification * Add a debug assertion w_cache isn't 0 It's initially set to 0 and if not updated, this would be broken. * Correct Monero workflow yaml * Again try to corrent Monero workflow yaml * Again * Finally * Re-apply weights as required by Bulletproofs Removing these was insecure and my fault. Co-authored-by: DangerousFreedom <dangfreed@tutanota.com>
2022-07-31 21:45:53 -05:00
mod
bulletproofs
;
Implement Guaranteed Addresses Closes https://github.com/serai-dex/serai/issues/27. monero-rs is now solely used for Extra encoding.
2022-06-28 00:01:20 -04:00
mod
address
;
add monero seed support (#252) * add monero seed support * fix some of the pr comments * remove languages module and unnecessary error returns * Clean classic seed impl Fixes a few issues regarding Zeroize usage/API safety. Mainly a cleanup. --------- Co-authored-by: Luke Parker <lukeparker5132@gmail.com>
2023-03-10 22:16:00 +03:00
mod
seed
;
Reference in New Issue
Copy Permalink