Releases: comit-network/xmr-btc-swap
Releases · comit-network/xmr-btc-swap
preview
chore: remove repeat word (#1671) Signed-off-by: chengehe <hechenge@yeah.net>
0.13.0
- 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
- 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
Changed
- Minimum Supported Rust Version (MSRV) bumped to 1.67
- ASB can now register with multiple rendezvous nodes. The
rendezvous_point
option inconfig.toml
can be a string with comma separated addresses, or a toml array of address strings.
0.12.1
Changed
- Swap: merge separate cancel/refund commands into one
cancel-and-refund
command for stuck swaps
0.12.0
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
Changed
- Immediately fetch transaction status upon subscription
- Dependency updates
0.11.0
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
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 reportingNo 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 stateSwapSetupCompleted
ofBtcLocked
.
Make sure to finish your swaps before upgrading. - logs to use rfc3339 local time formatting.
0.10.1
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 themonero-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 aBtcRedeemed
state.
Use--help
for more details.