Skip to content

Releases: comit-network/xmr-btc-swap

preview

06 Jun 10:10
49a7f7e
Compare
Choose a tag to compare
preview Pre-release
Pre-release
chore: remove repeat word (#1671)

Signed-off-by: chengehe <hechenge@yeah.net>

0.13.0

29 May 14:00
2932abc
Compare
Choose a tag to compare
  • Minimum Supported Rust Version (MSRV) bumped to 1.74
  • Lowered default Bitcoin confirmation target for Bob to 1 to make sure Bitcoin transactions get confirmed in time
  • Added support for starting the CLI (using the start-daemon subcommand) as a Daemon that accepts JSON-RPC requests
  • Update monero-wallet-rpc version to v0.18.3.1

0.12.3

23 Sep 20:21
2de492f
Compare
Choose a tag to compare
  • Swap: If no Monero daemon is manually specified, we will automatically choose one from a list of public daemons by connecting to each and checking their availability.

0.12.2

08 Aug 11:01
20afb35
Compare
Choose a tag to compare

Changed

  • Minimum Supported Rust Version (MSRV) bumped to 1.67
  • ASB can now register with multiple rendezvous nodes. The rendezvous_point option in config.toml can be a string with comma separated addresses, or a toml array of address strings.

0.12.1

09 Jan 13:54
b75b3e6
Compare
Choose a tag to compare

Changed

  • Swap: merge separate cancel/refund commands into one cancel-and-refund command for stuck swaps

0.12.0

31 Dec 18:27
26e4440
Compare
Choose a tag to compare

Changed

  • Update bdk library to latest version. This introduces an incompatability with previous versions due to different formats being used to exchange Bitcoin transactions
  • Changed ASB to quote on Monero unlocked balance instead of total balance
  • Allow asb to set a bitcoin address that is controlled by the asb itself to redeem/punish bitcoin to

Added

  • Allow asb config overrides using environment variables. See 1231

0.11.1

28 Oct 15:57
0672e35
Compare
Choose a tag to compare

Changed

  • Immediately fetch transaction status upon subscription
  • Dependency updates

0.11.0

11 Aug 13:34
9c688cf
Compare
Choose a tag to compare

Changed

  • Update from Monero v0.17.2.0 to Monero v0.18.0.0
  • Change Monero nodes to Rino tool nodes
  • Always write logs as JSON to files
  • Change to UTC time for log messages, due to a bug causing no logging at all to be printed (linux/macos), and an unsoundness issue with local time in the time crate
  • Fix potential integer overflow in ASB when calculating maximum Bitcoin amount for Monero balance
  • Reduce Monero locking transaction fee amount from 0.000030 to 0.000016 XMR, which is still double the current median fee as reported at monero.how

Added

  • Adjust quote based on Bitcoin balance.
    If the max_buy_btc in the ASB config is higher than the available balance to trade, it will return the max available balance discounting the Monero locking fees. In the case the balance is lower than the min_buy_btc config it will return 0 to the CLI. If the ASB returns a quote of 0 the CLI will not allow you continue with a trade.
  • Reduce required confirmations for Bitcoin transactions from 2 to 1
  • Both the ASB and CLI now support the Identify protocol. This makes its version and network (testnet/mainnet) avaliable to others
  • Display minimum BTC deposit required to cover the minimum quantity plus fee in the Swap CLI
  • Swap CLI will check its monero-wallet-rpc version and remove it if it's older than Fluorine Fermi (0.18)

0.10.2

25 Dec 22:08
3ce4dff
Compare
Choose a tag to compare

Changed

  • Record monero wallet restore blockheight in state SwapSetupCompleted already.
    This solves issues where the CLI went offline after sending the BTC transaction, and the monero wallet restore blockheight being recorded after Alice locked the Monero, resulting in the generated XMR redeem wallet not detecting the transaction and reporting No unlocked balance in the specified account.
    This is a breaking database change!
    Swaps that were saved prior to this change may fail to load if they are in state SwapSetupCompleted of BtcLocked.
    Make sure to finish your swaps before upgrading.
  • logs to use rfc3339 local time formatting.

0.10.1

23 Dec 23:37
83f12e1
Compare
Choose a tag to compare

Added

  • monero-recovery command that can be used to print the monero address, private spend and view key so one can manually recover instances where the monero-wallet-rpc does not pick up the Monero funds locked up by the ASB.
    Related issue: #537
    The command takes the swap-id as parameter.
    The swap has to be in a BtcRedeemed state.
    Use --help for more details.