mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 01:45:40 -04:00
Reduce required confirmations for Bitcoin transactions from 2 to 1
This commit is contained in:
parent
59a62fa256
commit
a82498669d
@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
- Adjust quote based on Bitcoin balance.
|
- 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 locking fees for monero, 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.
|
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 locking fees for monero, 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
|
||||||
|
|
||||||
## [0.10.2] - 2021-12-25
|
## [0.10.2] - 2021-12-25
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ impl GetConfig for Mainnet {
|
|||||||
Config {
|
Config {
|
||||||
bitcoin_lock_mempool_timeout: 3.std_minutes(),
|
bitcoin_lock_mempool_timeout: 3.std_minutes(),
|
||||||
bitcoin_lock_confirmed_timeout: 2.std_hours(),
|
bitcoin_lock_confirmed_timeout: 2.std_hours(),
|
||||||
bitcoin_finality_confirmations: 2,
|
bitcoin_finality_confirmations: 1,
|
||||||
bitcoin_avg_block_time: 10.std_minutes(),
|
bitcoin_avg_block_time: 10.std_minutes(),
|
||||||
bitcoin_cancel_timelock: CancelTimelock::new(72),
|
bitcoin_cancel_timelock: CancelTimelock::new(72),
|
||||||
bitcoin_punish_timelock: PunishTimelock::new(72),
|
bitcoin_punish_timelock: PunishTimelock::new(72),
|
||||||
@ -65,7 +65,7 @@ impl GetConfig for Testnet {
|
|||||||
Config {
|
Config {
|
||||||
bitcoin_lock_mempool_timeout: 3.std_minutes(),
|
bitcoin_lock_mempool_timeout: 3.std_minutes(),
|
||||||
bitcoin_lock_confirmed_timeout: 1.std_hours(),
|
bitcoin_lock_confirmed_timeout: 1.std_hours(),
|
||||||
bitcoin_finality_confirmations: 2,
|
bitcoin_finality_confirmations: 1,
|
||||||
bitcoin_avg_block_time: 10.std_minutes(),
|
bitcoin_avg_block_time: 10.std_minutes(),
|
||||||
bitcoin_cancel_timelock: CancelTimelock::new(12),
|
bitcoin_cancel_timelock: CancelTimelock::new(12),
|
||||||
bitcoin_punish_timelock: PunishTimelock::new(6),
|
bitcoin_punish_timelock: PunishTimelock::new(6),
|
||||||
|
Loading…
Reference in New Issue
Block a user