Luke Parker
bba93a64c2
Implement view tags
2022-07-27 06:29:14 -04:00
Luke Parker
76a7160ea5
Correct clippy warnings
...
Currently intended to be done with:
cargo clippy --features "recommended merlin batch serialize experimental
ed25519 ristretto p256 secp256k1 multisig" -- -A clippy::type_complexity
-A dead_code
2022-07-22 02:35:17 -04:00
Luke Parker
e67033a207
Apply an initial set of rustfmt rules
2022-07-16 15:16:30 -05:00
Luke Parker
53267a46c8
Return Timelocked instead of (Timelock, Vec<SpendableOutput>)
...
Timelocked doesn't expose the Vec yet requires calling not_locked(),
unlocked(Timelock), or ignore_timelock().
2022-07-09 18:53:52 -04:00
Luke Parker
7c86e4593a
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
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
2ae715f899
Ignore transactions which use a timelock
2022-06-01 17:14:57 -04:00
Luke Parker
5ca0945cbf
Implement serialization for SpendableOutput
...
Changes the output index to a u8. While it may expand to a u16 at some
point, this can remain canonical using little endian serialization while
dropping the latter byte if it's 0 (or simply only using u16 when it's
actually possible).
2022-05-26 03:51:27 -04:00
Luke Parker
d67d6f2f98
Add PartialEq to structs
2022-05-25 00:21:01 -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
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