feat(env): reduce monero_finality_confirmations and monero_double_spend_safe_confirmations to 15 (#683)

This commit is contained in:
Mohan 2025-11-06 21:41:55 +01:00 committed by GitHub
parent 513fbe6544
commit 2a2bda305e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 4 deletions

View file

@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
- GUI + SWAP + ASB: Reduce the confirmations required to spend a Monero transaction from 22 to 15. We believe the risks of re-orgs is low again and this is safe to do. This may increase the chances of swap being successful and will reduce the time a swap takes.
- GUI: Fix an issue where we a manual resume of a swap would be necessary if we failed to fetch certain Bitcoin transactions due to network issues. - GUI: Fix an issue where we a manual resume of a swap would be necessary if we failed to fetch certain Bitcoin transactions due to network issues.
## [3.2.9] - 2025-11-05 ## [3.2.9] - 2025-11-05

View file

@ -66,8 +66,8 @@ impl GetConfig for Mainnet {
// If Alice cannot lock her Monero within this timeout, // If Alice cannot lock her Monero within this timeout,
// she will initiate an early refund of Bobs Bitcoin // she will initiate an early refund of Bobs Bitcoin
monero_lock_retry_timeout: 10.std_minutes(), monero_lock_retry_timeout: 10.std_minutes(),
monero_finality_confirmations: 22, monero_finality_confirmations: 15,
monero_double_spend_safe_confirmations: 22, monero_double_spend_safe_confirmations: 15,
monero_network: monero::Network::Mainnet, monero_network: monero::Network::Mainnet,
} }
} }
@ -86,8 +86,8 @@ impl GetConfig for Testnet {
bitcoin_network: bitcoin::Network::Testnet, bitcoin_network: bitcoin::Network::Testnet,
monero_avg_block_time: 2.std_minutes(), monero_avg_block_time: 2.std_minutes(),
monero_lock_retry_timeout: 10.std_minutes(), monero_lock_retry_timeout: 10.std_minutes(),
monero_finality_confirmations: 22, monero_finality_confirmations: 15,
monero_double_spend_safe_confirmations: 22, monero_double_spend_safe_confirmations: 15,
monero_network: monero::Network::Stagenet, monero_network: monero::Network::Stagenet,
} }
} }