xmr-btc-swap/swap
binarybaron d8dacbdee9
Monero wallet refresh fix (#1487)
* Upgrade monero-wallet-rpc to `v0.18.3.1`

* Give feedback to user about state of monero refresh and retry if fails

This commit changes the following behaviour in the refresh functionality of the monero wallet
- Allows for multiple retries because in some cases users have experienced an issue where the wallet rpc returns `no connection to daemon` even though the daemon is available. I'm not 100% sure why this happens but retrying often fixes the issue
- Attempt to print the current sync height while the wallet is syncing. This only works to some degree because the `monero-wallet-rpc` stops responding (or takes a long time to respond) while it's refreshing
- The `monero-wallet-rpc` is started with the `--no-initial-sync` flag which ensures that as soon as it's started, it's ready to respond to requests
---------

Co-authored-by: Byron Hambly <bhambly@blockstream.com>
Co-authored-by: Byron Hambly <byron@hambly.dev>
2024-03-25 15:08:54 +01:00
..
migrations Add sqlite database implementation 2021-09-30 18:59:12 +10:00
proptest-regressions/bitcoin Add proptest for max_giveable and signing PSBT 2021-08-12 18:42:00 +10:00
src Monero wallet refresh fix (#1487) 2024-03-25 15:08:54 +01:00
tests Monero wallet refresh fix (#1487) 2024-03-25 15:08:54 +01:00
build.rs Upgrade to vergen 8.3, move to git describe --dirty --tags for semver (#1543) 2024-02-04 08:43:59 +02:00
Cargo.toml Verify hashes of monero cli on download (#1572) 2024-03-22 11:18:40 +02:00
sqlite_dev_setup.sh docs: update sqlx script and add ci 2022-11-30 15:30:32 +02:00
sqlx-data.json docs: update sqlx script and add ci 2022-11-30 15:30:32 +02:00