101 Commits

Author SHA1 Message Date
binarybaron
29da23ea60
fix(asb): Would silently fail if Monero refund transaction publish failed (#254) 2025-01-21 14:01:57 +01:00
unstoppableswap-botty
3e6b25a0c8
Prepare release 1.0.0-rc.12 (#252) 2025-01-16 11:46:02 +01:00
binarybaron
5e9240b628
fix(cli): Correctly check for available nodes, remove dead nodes (#251)
There was an issue before we were falsely applying a default node to use and not actually iterating through our list and checking for availiability. This commit fixes this issue and removes a few dead nodes.
2025-01-14 23:23:33 +01:00
binarybaron
cf20891638
fix(gui): Fetch balance after swap is released, re-fetch database after progress event, change wording in progress page (#237) 2024-12-23 11:59:40 +01:00
unstoppableswap-botty
27e8467ac5
Prepare release 1.0.0-rc.11 (#236) 2024-12-23 00:33:51 +01:00
binarybaron
a138f29d67
bump: arti to 0.25.0 (#233) 2024-12-20 12:15:29 +01:00
binarybaron
b7929ca0c4
feat(asb): Print more information when history command is invoked (#218) 2024-12-20 12:00:56 +01:00
unstoppableswap-botty
b7631d2d47
Prepare release 1.0.0-rc.10 (#226) 2024-12-05 17:16:15 +01:00
Binarybaron
23ccee1436 Revert "Prepare release 1.0.0-rc.9 (#224)"
This reverts commit e11dbed14d693aafd7c17283a688ad8868175777.
2024-12-05 16:51:37 +01:00
unstoppableswap-botty
e11dbed14d
Prepare release 1.0.0-rc.9 (#224) 2024-12-04 18:48:42 +01:00
unstoppableswap-botty
1dca3b852b
Prepare release 1.0.0-rc.8 (#223)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2024-12-04 16:23:29 +01:00
binarybaron
c5894eacdc
feat(asb): Retry publishing Bitcoin redeem transaction (#221) 2024-12-04 15:24:10 +01:00
binarybaron
2633e8e6bf
fix(asb): Compilation error introduced in #203 (#222) 2024-12-03 22:18:24 +01:00
binarybaron
d53c12d64e
feat(asb, cli): Listen on onion address, dial onion addresses (#203)
This pull requests
- Adds rust native support for the `asb` to listen on an onion service. Previously we were depedent on a seperately running `torc` client. Instead we now use [arti](https://tpo.pages.torproject.net/core/arti/), a rust implementation of the tor protocol.
- Removes the `tor.control_port` and `tor.socks5_port` property from the config of the `asb`
- Adds a new `tor.register_hidden_service` boolean property to the config of the `asb` which when enabled automatically runs a hidden service at startup
- Adds a new `tor.hidden_service_num_intro_points` config property to specify how many introduction points to register the onion service at
- Adds support for the `cli` to dial onion addresses

This is dependent on https://github.com/umgefahren/libp2p-tor/pull/24

Closes https://github.com/UnstoppableSwap/core/issues/16
2024-12-03 21:24:33 +01:00
binarybaron
45a4cf4fb7
fix(docs): Link to asb docs 2024-12-03 17:56:48 +01:00
Binarybaron
22878c8270 fix(gui): Do not fail get_swap_infos_call if >1 retrieval fails 2024-11-29 22:39:20 +01:00
binarybaron
3143a02d06
fix(asb): Check for updates in background (#215) 2024-11-29 20:37:33 +01:00
Einliterflasche
d9d12fabec
Merge pull request #214 from UnstoppableSwap/docs/fix-links
fix(docs): update links that pointed to docs/ to dev-docs/
2024-11-29 16:17:43 +01:00
einliterflasche
a333725577 remove sqlx cache data from git 2024-11-29 16:14:04 +01:00
einliterflasche
a67814868c update more links from docs/ to dev-docs/ 2024-11-29 16:11:40 +01:00
binarybaron
72d324780e
fix(gui): Only refund swaps in the background that haven't been refunded yet (#212) 2024-11-26 17:55:17 +01:00
unstoppableswap-botty
9b4e8540b5
Prepare release 1.0.0-rc.7 (#210)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2024-11-26 14:57:32 +01:00
binarybaron
b2e74df37e
feat: Maker avatar (#205)
- GUI: Changed terminology from "swap providers" to "makers"
- GUI: For each maker, we now display a unique deterministically generated avatar derived from the maker's public key
2024-11-25 20:15:09 +01:00
unstoppableswap-botty
92f6efc34b
Prepare release 1.0.0-rc.6 (#200)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2024-11-21 11:20:51 +01:00
binarybaron
a051cffb66
fix(swap): Disable verbose libp2p logging 2024-11-21 11:11:48 +01:00
binarybaron
689dd89e72
feat(swap): Start wallets and tor client in parallel (#198)
CLI + GUI: At startup the wallets and tor client are started in parallel. This will speed up the startup time of the application.
2024-11-21 01:51:19 +01:00
binarybaron
6cd228fada
feat(swap): Use art_client to dial over Tor (#196)
- Upgrade `sqlx` to `0.8`
- Use `arti_client@0.24` in combination with [`libp2p-community-tor`](https://crates.io/crates/libp2p-community-tor/0.4.1). https://github.com/umgefahren/libp2p-tor/pull/18 was required for this.
- Display spinner in GUI while Tor circuits are being established
- Remove unused dependencies (`once_cell`, `tauri-plugin-devtools`, `digest`, `hyper`, `itertools`, `erased_serde`)
- Bundle roboto font from npm registry
2024-11-21 01:00:36 +01:00
unstoppableswap-botty
d0108fd857
Prepare release 1.0.0-rc.5 (#195)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2024-11-19 17:28:21 +01:00
binarybaron
81f41183ae
feat(asb): Change log level of rendezvous register logs to TRACE (#188) 2024-11-19 14:57:49 +01:00
unstoppableswap-botty
56363da214
Prepare release 1.0.0-rc.4 (#187) 2024-11-17 17:07:38 +01:00
binarybaron
82c4b600c8
fix(ci): Use ubuntu-22.04 to build GUI, enable preview builds, revert 1.0.0-rc.3 (#185)
* fix(ci): Use ubuntu-22.04 to build GUI

* Revert "Prepare release 1.0.0-rc.3 (#184)"

This reverts commit 6bf90eb28e00bedec042827b0354363e401bba02.
2024-11-17 12:42:57 +01:00
unstoppableswap-botty
6bf90eb28e
Prepare release 1.0.0-rc.3 (#184)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2024-11-17 12:21:38 +01:00
binarybaron
3085eee19f
feat(swap): Log tracing in rolling log files (#155)
We now log verbose messages to hourly rotating `tracing*.log` which are kept for 24 hours. General logs are written to `swap-all.log`.
2024-11-16 21:54:02 +01:00
unstoppableswap-botty
56102fa379
Prepare release 1.0.0-rc.2 (#179) 2024-11-16 13:01:44 +01:00
unstoppableswap-botty
38e07c9937
Prepare release 1.0.0-rc.1 (#175)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2024-11-15 14:51:07 +01:00
unstoppableswap-botty
afdf310890
Prepare release 1.0.0-alpha.3 (#174)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2024-11-15 00:26:07 +01:00
unstoppableswap-botty
2b47904120
Prepare release 1.0.0-alpha.2 (#171)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2024-11-14 19:33:15 +01:00
binarybaron
6f0d060263
feat(gui): Display progress of monero-wallet-rpc download (#170) 2024-11-14 19:20:45 +01:00
unstoppableswap-botty
2138f36f21
Prepare release 1.0.0-alpha.1 (#167)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2024-11-14 17:05:50 +01:00
binarybaron
9f4c28c9c4
fix(gui, windows): Hide monero-wallet-rpc console window (#161) 2024-11-14 15:02:08 +01:00
binarybaron
e46be4a9ff
feat(gui): Refund swap in the background (#154)
Swaps will now be refunded as soon as the cancel timelock expires if the GUI is running but the swap dialog is not open.
2024-11-14 14:20:22 +01:00
binarybaron
4cf5cf719a
feat(gui): Display timelock status using a timeline (#153) 2024-11-14 13:33:20 +01:00
Einliterflasche
3e79bb3712
feat(GUI): Add settings for theme, fiat currency and remote nodes (#128) 2024-11-13 22:51:47 +01:00
binarybaron
eac435aba6
feat(gui): Display state page for inflight swap setup (#158)
We now display a "Starting swap with provider to lock ... BTC" page when the Bitcoin have been deposited and the swap setup is inflight.
2024-11-13 20:18:13 +01:00
binarybaron
6b6737c056
feat(consensus): Increase refund window from 72 to 144 blocks (#130) 2024-11-13 19:53:17 +01:00
Binarybaron
ec25181581 fix(clippy): Use .expect(..) instead of unwrap 2024-11-13 16:16:33 +01:00
binarybaron
f1fabcf8e3
fix(asb): Accept cooperative redeem request in both AliceState::BtcPunishable and AliceState::BtcPunished (#156)
Alice will accept a cooperative redeem request in both `AliceState::BtcPunishable` and `AliceState::BtcPunished` states. This allows Bob to request a cooperative redeem even if `tx_punish` has not been confirmed yet.
2024-11-13 15:33:27 +01:00
binarybaron
c027e51087
refactor(swap): Upgrade libp2p to 0.53.2, reliable retry mechanisms (#109)
Our libp2p version is out of date, and we need to tackle the upgrade even though it's a significant undertaking. This'll also fix some other [issues](https://github.com/UnstoppableSwap/core/issues/95).

## This PR includes the following changes:
- Breaking network protocol change: The libp2p version has been upgraded to 0.53 which includes breaking network protocol changes. ASBs and CLIs will not be able to swap if one of them is on the old version.
- ASB: Transfer proofs will be repeatedly sent until they are acknowledged by the other party. This fixes a bug where it'd seem to Bob as if the Alice never locked the Monero. Forcing the swap to be refunded.
- CLI: Encrypted signatures will be repeatedly sent until they are acknowledged by the other party
- CLI+ASB: Libp2p network errors in request-response protocols are now propagated throught the event loop channels. This allows the caller to retry if an error occurs (e.g timeout)

Closes https://github.com/UnstoppableSwap/core/issues/101, https://github.com/UnstoppableSwap/core/issues/95
2024-11-11 00:14:42 +01:00
binarybaron
8c3adbf1ab
feat(asb): Retry locking Monero (#143) 2024-11-10 17:51:05 +01:00
binarybaron
f3fbf80e28
fix(swap): Change default electrum testnet server (#144) 2024-11-09 16:04:28 +01:00