Commit graph

203 commits

Author SHA1 Message Date
Raphael
5dd3df569a
fix(monero-sys): don't panic on closed channel (#756)
* monero-sys: mark all wallet calls as fallible

Instead of assuming the channel will never be closed.

* monero-sys: handle closed channel from wallet thread side

Also put monero-sys logs into a tracing span per thread

* don't panic when uninstall c++ log callback fails

* monero-sys: catch panics in operations on wallet thread

At least long enough to log the error

* monero-sys: propagate c++ exceptions for all calls, except for simple getters
2025-11-25 13:08:12 +01:00
Gecko Botty
c8af1e2211
Prepare release 3.3.7 (#752)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-11-19 14:56:37 +01:00
Gecko Botty
051df5c101
Prepare release 3.3.6 (#738)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-11-17 14:20:45 +01:00
Gecko Botty
7a23cef36a
Prepare release 3.3.5 (#729) 2025-11-15 18:48:21 +01:00
Gecko Botty
9ddf66711b
Prepare release 3.3.4 (#726)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-11-14 23:54:31 +01:00
наб
fe42dc673e
feat(GUI): allow setting passphrase when creating wallets (#711)
* refactor(GUI): put SeedSelectionDialog FromSeed in its own box too

* feat(GUI): allow setting passphrase when creating wallets

Closes: #689

* feat(GUI): allow setting a password on existing wallet

Without saving, we can get the wallet into a state that causes libmonero
to throw std::bad_alloc (in the GUI and in feather; opening it a second
time in feather fixes it)
2025-11-14 22:08:00 +01:00
Gecko Botty
96aaf4e023
Prepare release 3.3.3 (#720) 2025-11-13 18:04:05 +01:00
Gecko Botty
455f516a5a
Prepare release 3.3.2 (#718)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-11-13 15:12:06 +01:00
Gecko Botty
af23d26d7c
Prepare release 3.3.1 (#707)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-11-11 19:48:27 +01:00
Gecko Botty
4043a0469a
Prepare release 3.3.0 (#704)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-11-10 17:42:44 +01:00
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
Gecko Botty
4a11c4de28
Prepare release 3.2.11 (#691)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-11-09 13:15:58 +01:00
Gecko Botty
c0235827f0
Prepare release 3.2.10 (#687)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-11-08 04:38:48 +01:00
Gecko Botty
f67e908fb6
Release version 3.2.9 (#680)
* Prepare release 3.2.9

* Update CHANGELOG.md

---------

Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
Co-authored-by: Mohan <86064887+binarybaron@users.noreply.github.com>
2025-11-05 19:10:12 +01:00
Gecko Botty
ea6d9bc2b2
Prepare release 3.2.8 (#672)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-11-02 23:25:28 +01:00
Gecko Botty
d9438c5913
Prepare release 3.2.7 (#658)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-10-29 15:35:40 +01:00
Gecko Botty
36144b6a06
Prepare release 3.2.6 (#657)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-10-28 00:45:19 +01:00
Binarybaron
cd3c32ba81 fix(gui): yarn install --frozen-lockfile 2025-10-28 00:36:18 +01:00
Mohan
c3f3623b6e
refactor (#656) 2025-10-28 00:33:47 +01:00
Gecko Botty
0a62cefc5b
Prepare release 3.2.5 (#655)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-10-26 23:42:33 +01:00
Gecko Botty
aaff3e5f9b
Prepare release 3.2.4 (#650)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-10-26 13:31:57 +01:00
Gecko Botty
e0e9bb2805
Prepare release 3.2.3 (#649)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-10-26 12:40:28 +01:00
Gecko Botty
208efc0369
Prepare release 3.2.2 (#648)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-10-26 00:08:04 +02:00
Binarybaron
7b6bf4f7f3 refactor(gui): drop dependency on "pino" 2025-10-25 15:19:18 +02:00
Gecko Botty
3eaeeede45
Prepare release 3.2.1 (#635)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-10-21 16:25:03 +02:00
Binarybaron
9af6bcc504 feat(cli): Remove --debug flag 2025-10-21 16:11:55 +02:00
Gecko Botty
2cbb296d3a
Prepare release 3.2.0-rc.4 (#633)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-10-17 22:14:01 +02:00
Gecko Botty
bc9b529da5
Prepare release 3.0.0-rc.3 (#632)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-10-16 22:46:43 +02:00
Gecko Botty
20a9a98015
Prepare release 3.2.0-rc.2 (#625)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-10-14 14:45:14 +02:00
Gecko Botty
18596bb248
Prepare release 3.2.0-rc.1 (#624)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-10-14 12:49:30 +02:00
Gecko Botty
6103b809a6
Prepare release 3.1.3 (#617) 2025-10-11 18:03:56 +02:00
Gecko Botty
42121d02da
Prepare release 3.1.2 (#614)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-10-11 15:01:20 +02:00
Gecko Botty
4cf1515d3b
Prepare release 3.1.1 (#607)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-10-08 17:01:15 +02:00
Gecko Botty
8528b35859
Prepare release 3.1.0 (#604)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-10-07 17:57:45 +02:00
Gecko Botty
bbdae0c18c
Prepare release 3.0.7 (#598)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-10-04 15:16:33 +02:00
Gecko Botty
a30ab4f460
Prepare release 3.0.6 (#597) 2025-10-02 21:56:10 +02:00
Gecko Botty
97c48cb0e1
Prepare release 3.0.5 (#596)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-10-02 21:34:27 +02:00
Mohan
7d019bfb30
feat(gui): Partially available global state (#593)
* feat(gui): Partially availiable global state

* move tauri command into own module

* move commands list into src-tauri/src/commands.rs

* cleanup swap/src/cli/api.rs

* add contextRequirement attribute to PromiseInvokeButton

* amend

* allow wallet operation on partially availiable context

* improvements

* fix some linter errors

* limit amount of logs to 5k

* keep behaviour from before

* make sure if swapId is null useActiveSwapLogs, return no logs

* remove unused variable

* create ContextStatusType enum
2025-10-02 21:28:12 +02:00
Mohan
8b817d5efc
feat: upgrade to arti 1.5.0 (#585)
* feat: upgrade to arti 1.5.0 (https://gitlab.torproject.org/tpo/core/arti/-/tags/arti-v1.5.0)

* change tauri dependencies to 2.*

* fmt

* add changelog entry
2025-09-27 12:40:35 +02:00
Gecko Botty
0f206157ec
Prepare release 3.0.4 (#584)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-09-27 01:19:03 +02:00
einliterflasche
adace17af3
Merge branch 'master' of https://github.com/UnstoppableSwap/core 2025-09-25 21:26:16 +02:00
Gecko Botty
fa53184aba
Prepare release 3.0.3 (#579)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-09-24 13:28:36 +02:00
Mohan
2ec6323c45
feat(asb): Disabled-by-default developer tip (#566)
* wip

* filter out destinations with zero amount

* add changelog entry

* do not use subtract_fee_from_outputs for multi lock tx

* make developer tip address configurable

* create developer_tip_monero_wallet in integration test

* add happy_path_alice_developer_tip integration test

* run happy_path_alice_developer_tip integration test in ci

* make stub tests

* document `developer_tip` and add log at startup

* take tip consideration when crafting quote

* remove double g++

* fix bash

* full stack trace in logs

* add DEFAULT_DEVELOPER_TIP_ADDRESS_STAGENET

* fix issue where --testnet could not be detected

* triple bitcoin testnet timelocks

* assert hardcoded developer tip address is on the correct network

* fix: interpret developer_tip = 0 as no tip in log at startup

* change developer_tip type to non-option, clamp tips below 100_00 piconero to 0

* create dedidcated TipConfig struct to replace (Decimal, monero::Address)

* small refactorings

* move tip config init out of of function call params

* refactoring

* unit tests wrong arguments passed in

* document `developer_tip` allows configuring your maker to donate a small part of swaps to funding further development of the project. This is disabled by default. You can manually enable it if you choose to do so. Set it to a number between 0 and 1. Setting it to 0.02 will donate 2% of each swap to the donation address of the project. The tip is sent by adding an additional output the Monero lock transaction of a swap. This means this will not impact document `maker.developer_tip` in docs/pages/becoming_a_maker/overview.mdx

* do not panic if cxx_addrs / cxx_amounts is null

* formatting, full error stack trace in swap/src/asb/event_loop.rs when we cannot construct a quote

* increase MIN_USEFUL_TIP_AMOUNT_PICONERO to 30m piconero (usd), correct params in unit tests

* prompt for developer_tip in orchestrator and asb wizard

* just fmt

* fmt

* address comments

* fmt

* spelling mistakes

---------

Co-authored-by: binarybaron <binarybaron@mail.mail>
2025-09-24 13:07:24 +02:00
Gecko Botty
03f41bbce9
Prepare release 3.0.2 (#575)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-09-21 04:06:46 -04:00
einliterflasche
4905b2b068
fixes 2025-09-19 21:16:32 +02:00
Gecko Botty
b9948d7f00
Release version 3.0.1 (#570)
* Prepare release 3.0.1

* Update CHANGELOG.md

---------

Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
Co-authored-by: Mohan <86064887+binarybaron@users.noreply.github.com>
2025-09-19 02:52:37 +00:00
einliterflasche
4c4335a50e
fix tauri missing libwinpthread-1.dll 2025-09-19 02:48:53 +02:00
Gecko Botty
36c1c3a28b
Prepare release 3.0.0-beta.16 (#567)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-09-18 05:16:31 +02:00
Gecko Botty
d0d90a5ece
Prepare release 3.0.0-beta.15 (#565)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-09-18 04:02:11 +02:00
Gecko Botty
56b0b684fc
Prepare release 3.0.0-beta.14 (#564)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2025-09-17 20:59:38 -04:00