diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c0af411..05415118 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +- ASB: Lowered the Monero lock retry timeout to 10minutes. Aftet that timeout we will start an early refund. + ## [2.3.1] - 2025-06-25 - GUI: Users can donate a small percentage of their swap to the projects donation address. Donations will be used to fund development. This is completely optional and **disabled** by default. Monero is used exclusively for donations, ensuring full anonymity for users. Donations are only ever send for successful swaps (not refunded ones). We clearly and transparently state where how much Monero is going before the user approves a swap. diff --git a/swap/src/env.rs b/swap/src/env.rs index 428c86e8..0de5f275 100644 --- a/swap/src/env.rs +++ b/swap/src/env.rs @@ -56,11 +56,9 @@ impl GetConfig for Mainnet { bitcoin_punish_timelock: PunishTimelock::new(144), bitcoin_network: bitcoin::Network::Bitcoin, monero_avg_block_time: 2.std_minutes(), - // If Alice has enough funds and an internet connection, - // she should be able to lock her Monero within 5 minutes - // One issue is that we do not do output management in a good way right now - // which is why we sometimes have to wait for 20 minutes for funds to become spendable - monero_lock_retry_timeout: 22.std_minutes(), + // If Alice cannot lock her Monero within this timeout, + // she will initiate an early refund of Bobs Bitcoin + monero_lock_retry_timeout: 10.std_minutes(), monero_finality_confirmations: 10, monero_network: monero::Network::Mainnet, } @@ -78,7 +76,7 @@ impl GetConfig for Testnet { bitcoin_punish_timelock: PunishTimelock::new(24), bitcoin_network: bitcoin::Network::Testnet, monero_avg_block_time: 2.std_minutes(), - monero_lock_retry_timeout: 25.std_minutes(), + monero_lock_retry_timeout: 10.std_minutes(), monero_finality_confirmations: 10, monero_network: monero::Network::Stagenet, }