Luke Parker
d611300adb
Error when the wrong spend key is used to sign a transaction
...
Moves decoy selection to being the last step in the multisig process so
the RPC is only polled to continue valid transactions.
2022-06-09 04:05:57 -04:00
Luke Parker
27751d8d98
Successfully get processor to send a transaction out
...
Modifies FROST behavior so group_key has the offset applied regardless
of if view was called. The unaltered secret_share and
verification_shares (as they have differing values depending on the
signing set) are no longer publicly accessible.
2022-06-09 02:48:53 -04:00
Luke Parker
dfd2f624ee
Implement a proper Monero Timelock type
...
Transaction scanning now returns the timelock to ensure it's
acknowledged by wallets.
Fixes https://github.com/serai-dex/serai/issues/16 .
2022-06-02 00:00:26 -04:00
Luke Parker
ce4c899422
Remove "as", except for floats as needed
...
Also updates Bulletproofs from C to not be length prefixed, yet rather
have Rust calculate their length.
Corrects an error in key_gen where self was blamed, instead of the
faulty participant.
2022-05-30 02:14:34 -04:00
Luke Parker
e950b9682b
Add get_block_transactions_possible which automatically filters invalid TXs
...
Adds Clone to the various error types, which they already should've had.
2022-05-28 05:08:37 -04:00
Luke Parker
d67d6f2f98
Add PartialEq to structs
2022-05-25 00:21:01 -04:00
Luke Parker
cc65b6e055
Move RingCT code to a deciated folder
...
Should help keep things ordered as more RingCT code is added.
2022-05-22 02:24:24 -04:00
Luke Parker
790e89902a
Override Monero's random function with a Rust-seedable random
...
Closes https://github.com/serai-dex/serai/issues/2 . Also finishes the
implementation of
https://github.com/monero-project/research-lab/issues/103 .
2022-05-22 01:56:17 -04:00
Luke Parker
e1fd462a50
Properly calculate uniqueness when creating change outputs
...
It was missing sorting its inputs by their key images.
2022-05-21 21:44:57 -04:00
Luke Parker
517db6448a
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