Bitcoin–Monero Cross-chain Atomic Swap
Find a file
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
.cargo feat(asb + cli): Redact logs + unify tracing infrastructure (#1733) (#55) 2024-09-01 18:13:43 +02:00
.github fix(ci): Add env variables for tauri signing to workflow 2024-10-23 19:29:46 +02:00
.vscode release(gui): 1.0.0 alpha.1 (#125) 2024-10-22 13:22:46 +02:00
dev-docs docs: Add reference to pages for electrum and monero nodes (#145) 2024-11-09 16:08:17 +01:00
docs refactor(docs): move source for doc pages here (#119) 2024-10-25 03:55:18 +02:00
monero-harness chore(monero, monero_harness): bump tracing-subscriber to 0.3 2024-08-28 12:18:58 +02:00
monero-rpc feat: cargo project at root 2024-08-08 00:49:04 +02:00
monero-wallet chore(monero, monero_harness): bump tracing-subscriber to 0.3 2024-08-28 12:18:58 +02:00
src-gui refactor(swap): Upgrade libp2p to 0.53.2, reliable retry mechanisms (#109) 2024-11-11 00:14:42 +01:00
src-tauri refactor(swap): Upgrade libp2p to 0.53.2, reliable retry mechanisms (#109) 2024-11-11 00:14:42 +01:00
swap refactor(swap): Upgrade libp2p to 0.53.2, reliable retry mechanisms (#109) 2024-11-11 00:14:42 +01:00
utils/gpg_keys feat: cargo project at root 2024-08-08 00:49:04 +02:00
.gitignore refactor(swap): Upgrade libp2p to 0.53.2, reliable retry mechanisms (#109) 2024-11-11 00:14:42 +01:00
Cargo.lock refactor(swap): Upgrade libp2p to 0.53.2, reliable retry mechanisms (#109) 2024-11-11 00:14:42 +01:00
Cargo.toml feat: cargo project at root 2024-08-08 00:49:04 +02:00
CHANGELOG.md refactor(swap): Upgrade libp2p to 0.53.2, reliable retry mechanisms (#109) 2024-11-11 00:14:42 +01:00
CONTRIBUTING.md feat: cargo project at root 2024-08-08 00:49:04 +02:00
Dockerfile refactor(swap): Upgrade libp2p to 0.53.2, reliable retry mechanisms (#109) 2024-11-11 00:14:42 +01:00
dprint.json feat(gui, tauri): Accept --testnet flag, default to mainnet (#106) 2024-10-10 14:51:56 +02:00
LICENSE feat: cargo project at root 2024-08-08 00:49:04 +02:00
README.md docs: Add matrix room to README.md 2024-09-27 13:08:46 +02:00
rust-toolchain.toml chore: downgrade rust toolchain to 1.79 2024-08-27 18:07:49 +02:00

xmr-btc-swap

This is the monorepo containing the source code for all of our core projects:

  • swap contains the source code for the main swapping binaries, asb and swap
  • gui contains the new tauri based user interface
  • tauri contains the tauri bindings between binaries and user interface
  • and other crates we use in our binaries

If you're just here for the software, head over to the releases tab and grab the binary for your operating system! If you're just looking for documentation, check out our docs page or our github docs.

Join our Matrix room to follow development more closely.