Commit graph

3481 commits

Author SHA1 Message Date
Binarybaron
7d54a53fa5 feat(ci): release preview release every day at noon utc instead of on every commit 2025-10-11 20:15:26 +02:00
Gecko Botty
6103b809a6
Prepare release 3.1.3 (#617) 2025-10-11 18:03:56 +02:00
Mohan
deb4b9693d
Update CHANGELOG.md 2025-10-11 16:28:05 +02:00
Mohan
0a1e4c300d
Update CHANGELOG.md 2025-10-11 16:27:36 +02:00
Mohan
7e4fb7d10d
Update CHANGELOG.md 2025-10-11 16:27:27 +02:00
Mohan
ce11ade6c9
fix(swap): Ensure wallet is synced before Monero sweep (#616)
* fix(swap): Ensure wallet is synced before Monero sweep

* add changelog entry and justfile command for refund path
2025-10-11 16:18:34 +02:00
Binarybaron
e7ff02958d dprint fmt 2025-10-11 15:27:50 +02:00
Binarybaron
b3439e4ae6 fix(gui): Soft-fail if status of timelock could not be fetched 2025-10-11 15:27:31 +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
Binarybaron
5e2c1a08d1 changelog: squash 3.0.3 - 3.1.1 2025-10-11 14:58:24 +02:00
Binarybaron
528ba5dc37 amend: logging in monero-sys/src/lib.rs 2025-10-11 14:57:00 +02:00
Mohan
af117f9653
fix(monero-sys): Ensure we synchronized before transacting (#613)
* fix(monero-sys): Ensure we synchronized before transacting

* add more context to bail message

* add logging to self.ensure_synchronized_blocking
2025-10-11 14:55:14 +02:00
Mohan
4ae47e57f9
refactor: swap-core / swap-machine (#530)
* progress

* fix thread safety

* move monero types from swap into swap_core

* just fmt

* move non test code above test code

* revert removed tracing in bitcoin-wallet/src/primitives.rs

* Use existing private_key_from_secp256k1_scalar

* remove unused monero chose code

* fix some clippy warnings due to imports

* move state machine types into the new `swap-machine` crate

* remove monero_c orphan submodule

* rm bdk_test and sqlx_test from ci

* move proptest.rs into swap-proptest

* increase stack size to 12mb

* properly increase stack size

* fix merge conflict in ci.yml

* don't increase stack size on mac

* fix infinite recursion

* fix integration tests

* fix some compile errors

* fix compilation errors

* rustfmt

* ignore unstaged patches we applied to monero submodule when running git status

* fix some test compilation errors

* use BitcoinWallet trait instead of concrete type everywhere

* add just test command to run integration tests

* remove test_utils features from bdk in swap-core

---------

Co-authored-by: einliterflasche <einliterflasche@pm.me>
Co-authored-by: binarybaron <binarybaron@mail.mail>
2025-10-10 16:29:00 +02:00
Mohan
908308366b
Update build-gui-release-binaries.yml 2025-10-09 16:58:59 +02:00
Binarybaron
54702dee89 fix(ci): -maxdepth 2 for which files to sign 2025-10-09 01:40:10 +02:00
Binarybaron
d01c4d2bc6 fix(ci): release files are in workspace root target folder 2025-10-08 22:58:33 +02:00
Binarybaron
ded0008328 feat: release gpg signature files for the gui releases 2025-10-08 17:44:41 +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
Binarybaron
4180d5d89f fix(gui): "Wait for the application to load all required components" if Tor disabled 2025-10-08 16:50:13 +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
Binarybaron
a1aac2d2c3 docs: add signature verification instructions 2025-10-07 15:32:56 +02:00
Binarybaron
fe1eb17346 amend: rendezvous changelog 2025-10-07 15:20:23 +02:00
Binarybaron
b52b4afb4c feat(rendezvous-server): Build in CI; fix timeout issue 2025-10-07 15:17:08 +02:00
Binarybaron
706aaf1fe7 fix(gui): simplify wallet seedphrase dialog open button 2025-10-05 23:02:58 +02:00
Binarybaron
65a46a4205 feat(gui): Remember acknowledged alerts and do not show them again 2025-10-05 22:51:20 +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
Binarybaron
2e2f06c459 fix(ci): build gui on ubuntu 24.04 2025-10-03 10:12:01 +02:00
Binarybaron
0eda2f2fc9 amend: teeny tiny little change to address text field validation 2025-10-03 09:59:43 +02:00
Mohan
3912fd9584
feat(gui): Move refund/redeem policy into settings (#587)
* feat(gui): Move refund/redeem policy into settings

* automatically call buyXmr() when going on swap page

* add skeleton while buyXmr is loading

* remove unused TauriSwapProgressEvent::RequestingQuote

* improve init page with skeletons

* add icon to "Click to view offers" button

* add changelog entry

* add allowEmpty to BitcoinAddressText and MoneroAddressTextfield

* make onAddressValidityChange optional

* remove evan.md

* minor fixes
2025-10-03 09:57:16 +02:00
Gecko Botty
a30ab4f460
Prepare release 3.0.6 (#597) 2025-10-02 21:56:10 +02:00
Binarybaron
4914c0aed5 fix: compile error in swap/src/common/tracing_util.rs 2025-10-02 21:42:22 +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
Binarybaron
3dcb7a7f7d amend: changelog 2025-10-02 21:29:11 +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
3b701fe1c5
fix(asb): Wait before re-trying rendezvous register (#595)
* fix(asb): Wait before re-trying rendezvous register

* remove logging and comment

* refacotrs and set ConnectionStatus::Dialling as soona as we push delayed re-dial

* add changelog entrx

* aggressive retry

* increase not decrease backoff
2025-10-02 02:22:53 +02:00
Binarybaron
cf13ab24d6 feat(ci): add git hash to tag of published docker pre-built images 2025-09-28 15:43:24 +02:00
Mohan
92764b9d3e
fix(swap-controller): redundant duplicated unit type in stdout 2025-09-28 05:13:15 +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
756f496acb
fix: always denied cooperative redeem 2025-09-27 01:15:00 +02:00
Binarybaron
3e86f40448 feat(gui): Clearly mark makers that have no available funds as having no available funds 2025-09-26 18:54:35 +02:00
Mohan
59f4f8e164
fix: PromiseInvokeButton chip button (#583)
* fix: PromiseInvokeButton chip button

* refactor
2025-09-26 17:07:05 +02:00
einliterflasche
adace17af3
Merge branch 'master' of https://github.com/UnstoppableSwap/core 2025-09-25 21:26:16 +02:00
Mohan
114696430e
docs: clarify orchestrator restart instructions (#581) 2025-09-25 02:20:09 +02:00
binarybaron
60c59aa542 amend changelog: deprecate 2.*.* makers 2025-09-24 13:53:49 +02:00
binarybaron
9a44529fe1 feat(gui): deprecate and warn about makers running <3.0.0 2025-09-24 13:50:01 +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
binarybaron
86f67e8e04 fix(electrum-pool): propagate error chain to caller 2025-09-24 13:21:44 +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
Mohan
5f2c737a85
feat(orchestrator): add asb-tracing-logger (#578)
* feat(orchestrator): add asb-tracing-logger

* restart: unless-stopped

---------

Co-authored-by: binarybaron <binarybaron@mail.mail>
2025-09-24 11:40:55 +02:00