xmr-btc-swap/src-tauri
Raphael 5247781468
fix(monero-sys): Correctly handle multiple transaction keys (#629)
* start adding support for subaddresses

* add happy_path_alice_developer_tip_subaddress

* remove redundant addSubaddressAccount bridge

* document multiple tx keys

* don't autoformat c++ files

* update PendingTransaction::txKeys() to return the output address and the transaction id for each tx key as well

* fix c++ include error, update bridge.rs

* make TxReceipt have a map of transfer keys

* fix derive_puclic_key function call

* add undo-git-changes to justfile (restores unstaged changes in git submodule)

* don't autoformat c/c++ files

This is annoying because it's increasing the diff size when I really
just want to extract the changes into a patch.

* Change the txKeys method to correctly identify the tx key for each output.

Caviat: we currently skip all outputs that belong to the primary address.
This means we won't have a tx key when sending to our own main address or
for change outputs. Transactions which try anyway will fail in the rust
verification step.

* add a simple test casse

* update error message to reflect caviat of not beign able to send to your own main address

* un-hardcode path in transaction_keys.rs

* update patch to throw an exception in txKeys() when a crypto operation fails
(instead of ignoring it)

* cleanup

* add a new crate monero-tests for monero integration tests

* add monero-tests/transactions to ci

* add comment to tx_keys map

* fix compilation, add test case for wrong transfer key

* fix ci

* add new test and explanatory comments

* Add explanatory comment

* rename test to avoid name abiguity

* silence some monero c++ spam

* start updating distribute function to use integers

* Revert "start updating distribute function to use integers"

This reverts commit b69ec7c44cee3c19001001c36cc62f3ce5ec4c74.

* update rust to 1.88

---------

Co-authored-by: Binarybaron <binarybaron@protonmail.com>
Co-authored-by: Mohan <86064887+binarybaron@users.noreply.github.com>
2025-11-09 21:01:40 +01:00
..
capabilities feat(gui): Partially available global state (#593) 2025-10-02 21:28:12 +02:00
gen feat(gui): Partially available global state (#593) 2025-10-02 21:28:12 +02:00
icons rebranding: eigenwallet (#461) 2025-07-17 16:31:29 +02:00
src refactor (#656) 2025-10-28 00:33:47 +01:00
.gitignore feat(monero-sys): Build system (#500) 2025-08-27 16:45:59 +02:00
build.rs feat(monero-sys): Build system (#500) 2025-08-27 16:45:59 +02:00
Cargo.toml fix(monero-sys): Correctly handle multiple transaction keys (#629) 2025-11-09 21:01:40 +01:00
tauri.conf.json Prepare release 3.2.11 (#691) 2025-11-09 13:15:58 +01:00
tauri.windows.conf.json fix tauri missing libwinpthread-1.dll 2025-09-19 02:48:53 +02:00